mudblood is meant to be as offensive as the n word without actually being the n word so in a sense you're correct in the series it's used the same way as an inflamatory insult brought out by the hatred of someone's liniage but simply beacause you see mudblood and think n word says more about your personal perceptions than it does the intended use of the word