infraction vs violation

infraction

noun
  • A violation; breach. 

  • A minor offence, petty crime. 

  • A major violation of rules which leads to a penalty, if detected by the referee. 

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 infraction and violation occurred in a corpus of books? (source: Google Ngram Viewer )