Anti-Villain
An "Anti-Villain" is a character in storytelling who opposes the hero but possesses qualities that make them relatable or sympathetic. Unlike traditional villains, anti-villains often have noble intentions or a tragic backstory that explains their actions. This complexity adds depth to their character and can challenge the audience's perception of good and evil.
These characters may engage in morally questionable actions to achieve their goals, often believing they are justified. Examples of anti-villains include Magneto from X-Men and Killmonger from Black Panther, who both fight for their beliefs but use extreme methods that put them at odds with the protagonists.