despite; in spite of; nevertheless
Expresses contrast: something happens or is true despite an expected obstacle or contrary circumstance.
This pattern emphasizes that a result is surprising or noteworthy given a preceding situation that would normally prevent it. It is often used in formal or written contexts to express a strong sense of 'despite' or 'even though'. For example, if someone studies little but passes an exam, you might say ほとんど勉強しなかったにも関わらず、試験に合格した. The pattern carries a nuance of admiration, criticism, or simply highlighting an unexpected outcome.
In conversation, のに is more common, but にも関わらず gives a more formal, emphatic tone. It can also be used at the start of a new sentence meaning 'nevertheless', but that is more literary. When used after a noun, it often implies 'despite being...' as in 彼は医者であるにも関わらず、タバコを吸っている (He smokes even though he is a doctor).
Remember that the clause before にも関わらず is the situation that is expected to prevent the result, and the clause after is what actually happens. The result can be positive or negative.