It's used to express disagreement with a previous statement or to introduce an opposing point of view.
For example:
* "You think this is a good idea?" "Au contraire, I think it's terrible."
* "He's not a very nice person." "Au contraire, he's very kind."