That's why cameras also have a bump at 400mn, as shown on this manufacturer's page (under the relative sensitivity tab) [3]. Cameras must have it so that they can capture light at 400nm the same way our eyes do. Otherwise those colors would look wrong in pictures.
That is also how computer monitors can display a color that we see as violet. They output a bit of red and lots of blue, which excites our red and blue cones and give the same stimulus as violet at 400nm wavelength. So, monitors can't output violet, but they can trick our eyes to think that there is violet.
The same happens for yellow. Monitors can't output yellow wavelength (590nm), but they output red and green, which excites our red and green cones and we think we see yellow. So, you could also say that when you see yellow on web pages, it isn't really yellow. It is just a mix of red and green.
[1] http://www.handprint.com/HP/WCL/color1.html
[2] https://en.wikipedia.org/wiki/Photoreceptor_cell#/media/File...
[3] https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=40...