My university has clean rooms, they have windows, the hallways have windows too so you can peek in from outside. Always great to show to visitors :) (at night they have weirdly colored lighting, pink, purple, so it looks really funky, no idea why)
At specific wavelengths (~245-265 nm), (UV) light inactivates quite a few living things. As light is quantized, the purpleish color you see is due to e- stepping down.
The concept is not at all dissimilar to old-fashioned darkrooms in photography. Outside light will wash out your image.