Arthur Conan Doyle's "A Scandal in Bohemia" resists a simple hero-villain dichotomy. The concept of a "good guy" depends on which character's perspective and values you prioritize.
The protagonist and solver of the case. Holmes operates on logic and deduction, yet he develops genuine respect for Irene Adler's intellect and resourcefulness. He is not "good" in a conventional moral sense—he acts on his principles and his client's wishes, which include deception and intrusion.
The antagonist who outwits Holmes. She is cunning, independent, and fiercely protective of her own autonomy. She is not a villain; she acts to safeguard her freedom and reputation. Many readers admire her agency and cleverness.
The client who hires Holmes. He seeks to blackmail Irene Adler into surrendering a compromising photograph, essentially using Holmes as an instrument of coercion. His aristocratic entitlement and disregard for Adler's agency make him arguably the closest to a villain—yet he is ultimately outmaneuvered by her.
The story operates in shades of gray. It invites readers to weigh intellect against ethics, power against autonomy, and decide for themselves who—if anyone—wears the white hat. The "good guy" is ultimately a matter of personal interpretation.