Eh... From a moral perspective, Vader is a villain, but he's not much of a villain from a writing perspective, just an antagonist.
Indeed, Orson Scott Card once said that in his opinion, Vader is the protagonist of the original Star Wars trilogy - Luke is just the hero and viewpoint character.