There are multiple definitions - click on the translation that matches your context.

违反

动词

full

contravene

verb

Definitions of contravene

English

to break a law, rule or agreement etc

The sale of shares contravenes the shareholders' agreement.