In Victorian society, the division between the aristocracy (upper class) and the working class was very rigid. The upper class could not risk their reputation by associating with the lower classes, as they were assumed to have negative traits.
Stevenson goes against Victorian expectations by showing that Dr. Jekyll, an upper-class man, is capable of creating the evil Mr. Hyde, challenging the idea that lower-class people are inherently evil.