contravention vs violation

contravention

noun
  • The act of contravening a rule, regulation, or law, or of not fulfilling an obligation, promise, or agreement. 

violation

noun
  • An infraction or a failure to follow a rule. 

  • Rape; sexual activity forced on another person without their consent. 

How often have the words contravention and violation occurred in a corpus of books? (source: Google Ngram Viewer )