as against vs contrary to

as against

prep
  • In comparison to 

contrary to

prep
  • despite; in opposition to (an assumption, etc.); differently from 

How often have the words as against and contrary to occurred in a corpus of books? (source: Google Ngram Viewer )