In legal terms, contrary refers to something that is opposite or conflicting with a particular law, rule, regulation, or legal principle. It indicates a situation where there is a violation or non-compliance with the established legal norms or standards.