If you want a lack of light, why not just block the light source to the room, only allowing a tiny, adjustable bit of light in?
For this, using a lamp to add light, you'd already need to blacken the room totally anyway.
Otherwise, a standard dimmer, with a very small bulb in a fully enclosed...