Aniline dyes are synthetic dyes made from aniline, a compound derived from coal tar. The first commercially successful one was mauveine, discovered by William Henry Perkin in 1856, followed rapidly by magenta and many others. They produced brilliant, sometimes harsh, colours that had been difficult or impossible with natural dyes, and changed the look of mid-Victorian dress and accessories.

Some early synthetic dyes faded or were mildly toxic, and arsenic-based greens caused real harm. See Synthetic Dyes and Accessory Color.