The dark elf that I made my characters after was named Dalamar from the DragonLance books. He was the apprentice to the primary "Black Robes" magician named Raistlin.
He wasn't weak and he definitely wasn't good. But he could see when helping the good characters in the book would result in a benefit to himself. So while he was definitely "Dark", he didn't let his evil nature stop him from doing "Good" things just because they were good.
If I recall, Dalamar didn't appear until the fourth book in the series. The first three books were what established Raistlin as a powerful enough wizard to merit having an apprentice.