> This is due to a bug.
I am fascinated by the quirk that our red cones also slightly perceive light beyond blue. Thanks to this quirk we can have the model HSV which wraps around the red hue to magenta and then blue. This is only possible because of this quirk.
Purple, meanwhile, is a genuine mixture of short and long wavelengths, causing the same response.