I've always found the best villains to be relatively normal people who are doing "evil" things for what they perceive to be a good reason.
For example, they are the ones willing to do "whatever it takes" to gain power for some reason they feel justifies it.
Bad villains are the ones who are evil just to be evil, or "the big bad" of the story.
RE: Character flaws in fiction