This was addressed in another thread earlier this year that I started asking if I could basically be running at night with my under deck (blue) lighting switched on.
After a lot of debate (forum style) I simply directed the question to MP in am email.
http://www.winnipesaukee.com/forums/...ad.php?t=17536
The answer to your question is your NOT in violation while at anchor !
The flip side of that is that emphatically you cannot be "underway" with anything other than your require navigation lights on (this includes interior lighting).
.