I got into a bit of color science when I worked on a physically-based, spectral renderer some 15-ish years ago. Truly a fascinating and complex topic.
It's relatively easy to make a spectral renderer, that part of the math is pretty straight forward.
But generating fairly accurate and good-looking images that can be displayed on a low dynamic range RGB monitor from the result is something else.