The preposition malgré is closer to despite, whereas the expression en dépit de is closer to in spite of.
I found this sentence a bit confusing as the pairs of words are described as interchangeable (and certainly are in English, apart from despite being a bit more formal) - does that "closer to" just mean that one of the pair is a single word and the other a prepositional phrase?