contrary ideas, opinions, or actions are completely different and opposed to each other:
Two contrary views emerged.
The men shouted contrary orders.
The government's actions are contrary to the public interest.
used to say that something is true even though people believe the opposite:
Contrary to popular belief, a desert can be very cold.
a contrary wind is not blowing in the direction you want to sail