How Did Synthetic Dyes Change the World? Let’s Explore Color Expression with AI Illustrations!

an animated female character with blonde hair and blue eyes wearing a black outfit holds a bouquet of pink and purple flowers, surrounded by a dark background with sparkles
  • Colors were once symbols of wealth and power.
  • Synthetic dyes made them accessible to everyone.
  • AI illustrations respond vividly to color prompts.

Introduction

Hello, I’m Easygoing!

In this post, I’d like to dive into the fascinating world of color expression in AI-generated illustrations.

An anime-style illustration of a blonde woman in a black dress holding a bouquet of vibrant flowers.
Color expression in AI illustrations!

Exploring Blue, Purple, and Red

Today, we’ll focus on three captivating colors:

Indigo
HEX: #00008B
RGB: (0, 0, 139)
CMYK: (100, 100, 0, 45)
LAB: (15.7, 30.1, -52.3)
HSL: (240, 100%, 27%)
Royal Purple
HEX: #4B0082
RGB: (75, 0, 130)
CMYK: (42, 100, 0, 49)
LAB: (22.5, 45.7, -50.1)
HSL: (275, 100%, 25%)
Alizarin
HEX: #C71585
RGB: (199, 21, 133)
CMYK: (0, 89, 33, 22)
LAB: (45.7, 70.5, -10.2)
HSL: (323, 81%, 43%)
  • Blue: Indigo
  • Purple: Tyrian Purple, Royal Purple
  • Red: Alizarin

These colors are known for their vibrant and rich tones, historically used as natural dyes for centuries.

Indigo Blue: A Familiar Dye Across Cultures

Indigo is perhaps the dye most deeply intertwined with human history.

Its name comes from the Latin word indicum ("from India"), hinting at its ancient trade along the Silk Road, where Indian blue dye reached the Mediterranean.

Natural indigo is produced through a complex process of fermentation and oxidation of plant leaves containing the dye’s pigment.

Hokusai Katsushika’s ukiyo-e print The Great Wave off Kanagawa, showcasing blue waves and Mount Fuji.
Hokusai’s The Great Wave off Kanagawa

Indigo dyeing was practiced worldwide, and in Japan, ai (indigo) was widely cultivated in Awa Province (modern-day Tokushima), used for clothing and as a pigment in traditional paintings.

Indigo’s Molecular Magic: Capturing Light

Indigo’s molecular structure consists of two cyclic indican molecules bonded together.

Indigo_skeletal_transparent
Indigo Molecule
Indigo_skeletal_transparent_white
Indigo Molecule

At its core is a benzene ring, resembling a hexagonal turtle shell, with a conjugated system of alternating single and double bonds.

This structure absorbs specific wavelengths of light, allowing indigo to soak up red and green light from sunlight, resulting in its deep blue hue.

Purple Dye: Sourced from Seashells

A close cousin to indigo is Tyrian Purple (Royal Purple).

Indigo
HEX: #00008B
RGB: (0, 0, 139)
CMYK: (100, 100, 0, 45)
LAB: (15.7, 30.1, -52.3)
HSL: (240, 100%, 27%)
Royal Purple
HEX: #4B0082
RGB: (75, 0, 130)
CMYK: (42, 100, 0, 49)
LAB: (22.5, 45.7, -50.1)
HSL: (275, 100%, 25%)
Indigo_Royal_Purple_skeletal_transparent
Molecular structures of indigo and Tyrian purple.
Indigo_Royal_Purple_skeletal_transparent_white
Molecular structures of indigo and Tyrian purple.

Tyrian purple is created when bromine (Br) is added to the indigo molecule, altering the wavelengths of light it absorbs.

Its name derives from Tyre (modern-day Sour, Lebanon), a city in the ancient Mediterranean.

Photo of a Murex snail, the source of Tyrian purple.
Murex Snail

Tyrian purple is extracted from the mucous glands of the Murex snail, found in the Tyre region.

Purple: A Symbol of Power

Because only a tiny amount of dye could be harvested from each snail, Tyrian purple was incredibly rare, valued at three times the price of gold.

In the Roman Empire, purple was designated as the emperor’s color, reserved exclusively for the imperial family.

Anime illustration of a blonde woman in a black dress holding a purple bouquet, symbolizing nobility.
Purple as the color of nobility

When Christianity became the state religion of Rome, the Catholic Church adopted this tradition, with purple symbolizing authority for popes and cardinals, earning the name Royal Purple.

The Rise of Synthetic Dyes in the 19th Century

For centuries, dyes were a symbol of wealth and power. But in the late 19th century, synthetic dyes revolutionized the industry.

In 1856, an 18-year-old student at London’s Royal College of Science, William Perkin, was experimenting with synthesizing quinine (an anti-malaria drug) from coal tar, a byproduct of coal refining.

Royal Purple
HEX: #4B0082
RGB: (75, 0, 130)
CMYK: (42, 100, 0, 49)
LAB: (22.5, 45.7, -50.1)
HSL: (275, 100%, 25%)
Perkin's Mauve
HEX: #915F6D
RGB: (145, 95, 109)
CMYK: (0, 34, 25, 43)
LAB: (42.3, 24.9, 2.8)
HSL: (343, 21%, 47%)

Although Perkin failed to synthesize quinine, he noticed that diluting a black liquid from his experiment with ethanol produced a purple hue.

Since purple dyes like Royal Purple were rare and expensive, he tested the liquid by dyeing silk, which held the color even after washing with hot water or soap.

This discovery led to the world’s first synthetic dye, named mauve, marking the dawn of the synthetic dye era.

Anime illustration of a blonde woman in a black dress holding a reddish-purple bouquet, representing mauve.
The world’s first synthetic dye: reddish-purple

Synthetic Dyes Flourish in Germany

While Britain, post-Industrial Revolution, was the world’s leading exporter of cotton textiles, it relied on indigo imports from India, limiting synthetic dye development.

Instead, Germany and Switzerland, emerging scientific hubs, became centers for synthetic dye innovation, particularly along the Rhine River.

German Dye Companies

Company Founded Current Name
Bayer 1861 Bayer
BASF 1868 BASF
Hoechst 1869 Sanofi-Aventis (merged in 2004)

Bayer and Sanofi-Aventis are now major pharmaceutical giants.
BASF is a leading global chemical manufacturer.

Swiss Dye Companies

Company Founded Current Name
Geigy 1857 Novartis (merged in 1996)
Ciba 1859 Same as above
Sandoz 1886 Same as above

Novartis is a modern pharmaceutical giant.

Colors Become Accessible to All

Red-based dyes like mauve, known as aniline dyes, were refined, giving rise to new colors.

Perkin's Mauve
HEX: #915F6D
RGB: (145, 95, 109)
CMYK: (0, 34, 25, 43)
LAB: (42.3, 24.9, 2.8)
HSL: (343, 21%, 47%)
Fuchsine (Magenta, 1859)
HEX: #C8186A
RGB: (200, 24, 106)
CMYK: (0, 88, 47, 22)
LAB: (48.2, 71.5, 10.8)
HSL: (332, 79%, 44%)
Alizarin
HEX: #C71585
RGB: (199, 21, 133)
CMYK: (0, 89, 33, 22)
LAB: (45.7, 70.5, -10.2)
HSL: (323, 81%, 43%)
Mauveines_Fuchine_Alizarin_skeletial_transparent
Structural formulas of Mauveine A, Fuchsine, and Alizarin
Mauveines_Fuchine_Alizarin_skeletial_transparent_white
Structural formulas of Mauveine A, Fuchsine, and Alizarin
  • Mauve: The first synthetic dye
  • Fuchsine: The basis for magenta in printing
  • Alizarin: A vibrant madder red

In 1868, alizarin became a massive hit due to its ease of dyeing and colorfastness, leading to the decline of the madder plant industry, previously a global source of red dye.

By 1897, indigo, and by 1909, Tyrian purple, were synthesized and mass-produced, making colors once exclusive to the wealthy accessible to everyone.

Anime illustration of a blonde woman in a black dress with a vibrant bouquet, representing colors for all.
Colors for the masses!

From Dyes to Pharmaceuticals

German dye companies reaped huge profits from alizarin, and Bayer applied dye technology to develop aspirin (acetylsalicylic acid) in 1897.

Top image of Bayer Aspirin’s official brand website, showing its packaging and logo.
Source: Bayer Aspirin Official Brand Site
Salicylic-acid-Apirin-skeletal_transparent
Left: Salicylic acid | Right: Aspirin (acetylsalicylic acid)
Salicylic-acid-Apirin-skeletal_transparent_white
Salicylic acid and Aspirin (acetylsalicylic acid)

Salicylic acid had anti-inflammatory properties but caused severe gastrointestinal side effects.

Aspirin was engineered to remain inactive in the stomach, converting to salicylic acid in the bloodstream, drastically reducing side effects (a type of drug called a prodrug).

Beyond pain relief, aspirin’s benefits in preventing heart attacks and strokes have made it a staple for over 120 years.

Anime illustration of a blonde woman in a black dress holding a bouquet themed around pharmaceuticals.
From dyes to pharmaceuticals

Expressing Colors with AI Illustrations

Now, let’s return to AI illustrations and experiment with color expression.
We’ll test eight colors by inputting their prompts into various image generation AI models to see how they’re rendered.

Maroon
HEX: #800000
RGB: (128, 0, 0)
CMYK: (0, 100, 100, 50)
LAB: (27.0, 51.2, 22.5)
HSL: (0, 100%, 25%)
Burgundy
HEX: #800020
RGB: (128, 0, 32)
CMYK: (0, 100, 75, 50)
LAB: (27.3, 50.1, 16.8)
HSL: (345, 100%, 25%)
Rouge
HEX: #A6112B
RGB: (166, 17, 43)
CMYK: (0, 90, 74, 35)
LAB: (36.8, 58.2, 20.1)
HSL: (349, 81%, 36%)
Alizarin
HEX: #C71585
RGB: (199, 21, 133)
CMYK: (0, 89, 33, 22)
LAB: (45.7, 70.5, -10.2)
HSL: (323, 81%, 43%)
Royal Purple
HEX: #4B0082
RGB: (75, 0, 130)
CMYK: (42, 100, 0, 49)
LAB: (22.5, 45.7, -50.1)
HSL: (275, 100%, 25%)
Deep Blue
HEX: #00008B
RGB: (0, 0, 139)
CMYK: (100%, 100%, 0%, 45%)
LAB: (14.7, 29.8, -51.2)
HSL: (240°, 100%, 27%)
Indigo
HEX: #00008B
RGB: (0, 0, 139)
CMYK: (100, 100, 0, 45)
LAB: (15.7, 30.1, -52.3)
HSL: (240, 100%, 27%)
Royal Blue
HEX: #4169E1
RGB: (65, 105, 225)
CMYK: (71, 53, 0, 12)
LAB: (47.9, 10.5, -60.1)
HSL: (225, 73%, 57%)

SDXL (anima_pencil-XL): Base Image

Base illustration generated by SDXL (anima_pencil-XL), showing a blonde woman in a black dress with a bouquet.
This image serves as the foundation for image-to-image transformations.

AuraFlow_0.3

Anime illustration generated by AuraFlow_0.3, featuring a blonde woman with vibrant floral colors.
Vivid flower colors

Flux.1 [dev] (blue_pencil-flux.1-v0.0.1)

Anime illustration generated by Flux.1 [dev], with detailed but slightly muted colors.
Great details but slightly muted colors

HiDream-I1-Dev

Anime illustration generated by HiDream-I1-Dev, accurately reproducing colors.
Accurate color reproduction

Qwen-Image

Anime illustration generated by Qwen-Image, with beautiful colors but lacking blue tones.
Beautiful colors but missing blue hues

AuraFlow and HiDream Shine in Color Expression

New-generation image generation models excel at rendering colors, but I personally prefer AuraFlow and HiDream for their color expression.

AuraFlow’s version 0.3 includes improvements tailored for artistic expression.

HiDream, equipped with four text encoders, excels at accurately interpreting prompts and rendering natural results.

About HiDream

Useful Websites for Color Inspiration

Here are some websites to help you choose colors for AI illustrations:

Deep Colors

Deep Colors is a curated collection of rich, deep hues ideal for image generation. It includes the colors used in this post, offering subtle, sophisticated tones distinct from highly saturated colors.

Note: For colors like Coffee, entering the name might generate a coffee-related image, so use the color code (#5C4033) instead.

HTML Color Codes (Color Library)

HTML Color Codes is a resource for web designers, offering a clear and comprehensive guide to inspiring colors for your projects.

Conclusion: Synthetic Dyes Transformed the World!

  • Colors were once symbols of wealth and power.
  • Synthetic dyes made them accessible to everyone.
  • AI illustrations respond vividly to color prompts.

Colors are deeply tied to human history, each with its own rich story of discovery.

Anime illustration of a blonde woman in a black dress with a colorful bouquet, celebrating color history.
Let’s explore color expression!

Today, with tablets and digital art tools, we can create any color imaginable. Why not experiment with expressing colors through words using AI?
Thank you for reading!


References

Color Adjustments in ComfyUI

All illustrations in this post were enhanced with AI-driven automatic color correction and HDR processing in LAB color space.