It's the truth!

Red Onions (and every other not-red food that’s called red) is older in the English language than the word “purple”.

Purple is a relatively modern concept in English having first been used circa 900AD. Before that basically everything towards the magenta part of the spectrum was all just called red.

See also Orange, the colour is named after the fruit and not the other way round.

It’s the same reason why ”Violets are blue”.
Roses are red and violets are blue, You have been misled, for that isn’t true
Roses are red, but nobody cares, Waxed lightly weathered, cut copper stairs