EASY ! (if I understand you)
power the relay coil off the FEED into the dimmer, it'll be +12vdc. and only hot when the dash lights are on, no matter how dim you have them set.

by the way, many cars now use PWM to regulate dash dimming.