Use 'contravene' in legal or formal settings when talking about breaking rules or laws. Distributing unlicensed copies of software will contravene intellectual property laws.
Pro Tip 2/3
Serious Tone
'Contravene' implies a serious violation and may suggest consequences for the act. By ignoring the cease and desist letter, the company continued to contravene the trademark.
Pro Tip 3/3
Business Regulations
Commonly used in business contexts to refer to companies breaking industry rules. The advert was pulled off air because it contravened advertising standards.