Eggplants also contain flavonoids, such as anthocyanins. Anthocyanins are water-soluble pigments that have many health benefits. They also help give the eggplant its well-known, dark purple color. The skin of the eggplant is rich in antioxidants, fiber, potassium, and magnesium.