Crystal violet is one of the components of methyl violet, a dye first synthesized by Charles Lauth in 1861. From 1866, methyl violet was manufactured by the Saint-Denis-based firm of Poirrier et Chappat and marketed under the name "Violet de Paris". It was a mixture of the tetra-, penta- and hexamethylated pararosanilines.
Crystal violet itself was first synthesized in 1883 by Alfred Kern (1850–1893) working in Basel at the firm of Bindschedler and Busch. To optimize the difficult synthesis which used the highly toxic phosgene, Kern entered into a collaboration with the German chemist Heinrich Caro at BASF. Kern also found that by starting with diethylaniline rather than dimethylaniline, he could synthesize the closely related violet dye now known as C.I. 42600 or C.I. Basic violet 4.