Found on rocky coasts, usually under the larger boulders encrusted in sessile animals such as bryozoans, small barnacles and ascidians. N. violacea preys on these and is assumed to be mainly carnivorous in its diet. Ranges from the mid-intertidal zone down to around 15metres deep.