Purple is a mix of red (long) and blue (short) wavelengths.
The problem: Those colors are on opposite ends of the spectrum. To cope, the brain improvises. It takes the visible spectrum β usually a straight line β and bends it into a circle. This puts blue and red next to each other.