Pigment
The first synthetic dye was aniline. Aniline is an organic chemical compound produced in two stages from benzene. It gives a mauve color which was much used for dyeing clothes in the 19th century. It was invented in 1856 by  William Henry Perkin. Apparently, it gave a brilliant fuchsia color when first applied, but fades rapidly to mauve.