
http://aescripts.com/ft-clamp/
This plugin will ensure your comp is not exceeding specified colors values. It will legalize those values and let you specify which should be the whitest and blackest color.
Please note that this plugin is not compatible with CS6