Anthocyanins are responsible for the color and they act as a pH indicator, changing color from bright red in acid to bright blue in basic solutions. Soil acidity could have an impact on their color at harvest, but it also really depends on how you use them. If you put them raw in a salad, they’ll probably turn quite red regardless, but it’s also quite common to find them as a purple color.
They can be purplish in some growth stages but on the whole they are a deep red, a crimson. Unless my eyes are just broken.
https://duckduckgo.com/?kp=-2&q=red+onion&iax=images&ia=images
About half of the pictures I see are Purple.
None of those are red. They’re all close to red, but none of them are actually red.
Anthocyanins are responsible for the color and they act as a pH indicator, changing color from bright red in acid to bright blue in basic solutions. Soil acidity could have an impact on their color at harvest, but it also really depends on how you use them. If you put them raw in a salad, they’ll probably turn quite red regardless, but it’s also quite common to find them as a purple color.