anthocyanin

/ˌænθəˈsaɪənən/

noun

A blue, violet, or red flavonoid pigment found in plants.

the earliest carrots were purple, because they contained anthocyanin