Meaning of “contravene” - Learner’s Dictionary

contravene

verb [ T ] uk us /ˌkɒntrəˈviːn/ formal

to do something that is forbidden by a law or rule

contravention uk us /ˌkɒntrəˈvenʃən/ noun [ C, U ]

By accepting the money, she was in contravention of company rules.

(Definition of “contravene” from the Cambridge Learner’s Dictionary © Cambridge University Press)