Antihero
The whole concept was the subject of a book by Colin Wilson called The Outsider. There the author imagines he is in the position of many of his favourite characters in fiction, such as Dostoevsky's Raskolnikov.