Used to describe something that is in opposition.
El contario de lo que ella pensaba era que el proyecto podría tener éxito.
The contrary of what she thought was that the project could be successful.
Su opinión es completamente contaria a lo que muchos piensan sobre el tema.
His opinion is completely contrary to what many think about the topic.