The diagram is misleading because the spectral sensitivity curves are drawn using red, green, and blue colors on the chart. Read the wavelengths on the bottom--they do not roughly correspond to red, green, and blue. This is why they are named L, M, and S instead.
The peak sensitivities are closer to green, a different green, and violet.
> That is hardly a coincidence. Our perceived color space is vaguely triangular because we have vaguely three types of cone cells to detect color.
It's a poor approximation of a triangle. It's more paraboloid.
It would be a triangle if there were no overlap between the spectral sensitivity of different receptors. Since there is overlap between the green, other green, and purple receptors, the shape is not a triangle.