Eighteen-year-old student William Henry Perkin created purple in March 1856 during a failed chemistry experiment to produce quinine, a substance used to treat malaria. Perkin instead invented the first synthetic dye. He originally called it “Tyrian purple,” but then settled on the French word “mauve.”