Apple - Can you turn off or disable the display on an iMac?
You can try RedScreen (I don't have an iMac to test it). I read that it can not only decrease the screen brightness beyond OS X defaults (like others do) but also control the screen backlight. You can bypass the default red tinting mode and just use these brightness controls.