Color Converter (HEX, RGB, HSL)→Specialized Version
🎨

Indigo HEX Code

Indigo color HEX code

HEX in
#4B0082
RGB out
rgb(75, 0, 130)
RGB
HSL

All formats

Lightness variations

Indigo HEX Code

The HEX code for indigo is #4B0082. Indigo is a deep blue-violet color positioned between blue and violet in the visible spectrum. Named after the indigo dye derived from plants, it's one of the seven colors of the rainbow.

Indigo Color Values

FormatValue
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
CMYKC:42 M:100 Y:0 K:49

Indigo Shades and Variations

ShadeHEXDescription
Light Indigo#8A2BE2Blue Violet
Indigo#4B0082CSS indigo
Dark Indigo#310062Deeper tone
Navy#000080Blue-dominant
Purple#800080Red-dominant
Midnight Blue#191970Dark blue

Indigo in Design

Indigo conveys:

  • Depth: Mystery, introspection
  • Wisdom: Intuition, perception
  • Spirituality: Meditation, mindfulness
  • Luxury: Premium, sophisticated

Rainbow Indigo

Indigo is the sixth color in the rainbow:

PositionColorHEX
5Blue#0000FF
6Indigo#4B0082
7Violet#EE82EE

Using Indigo in Design

``css /* Indigo palette */ :root { --indigo-light: #6366F1; --indigo: #4B0082; --indigo-dark: #3730A3; }

/* Modern indigo button */ .btn-indigo { background-color: #4F46E5; color: white; } `

Tailwind Indigo Scale

LevelHEXUse
50#EEF2FFBackgrounds
500#6366F1Primary
700#4338CADark
900#312E81Very dark
Indigo is popular in modern UI design, particularly for primary brand colors in tech and SaaS applications.

A Full Ramp From This Colour

Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and states without anyone reaching outside the palette. Mixing toward white and black rather than adjusting HSL lightness keeps more of the hue's character:

StepColourContrast on whiteSafe for
50#F5F9FF1.06:1backgrounds and fills
100#EBF3FE1.12:1backgrounds and fills
200#CEE0FD1.34:1backgrounds and fills
300#B1CDFB1.62:1backgrounds and fills
400#76A8F92.40:1backgrounds and fills
500#3B82F63.68:1large text, borders
600#326FD14.85:1body text on white
700#295BAC6.59:1body text on white
800#2048878.98:1body text on white
900#18346212.31:1body text on white
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.

Adjusting It

Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:

`css /* +10% lightness, same hue */ --lighter: #6da2f8; /* −10% lightness */ --darker: #0b64f4; ``

Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.

Frequently Asked Questions

What is indigo in HEX?

#4B0082 is CSS indigo, a deep blue-violet color.

Is indigo blue or purple?

Indigo is between blue and violet—it has more blue than purple but is distinctly different from pure blue.

Why is indigo in the rainbow?

Newton included indigo as one of seven rainbow colors to match the seven musical notes, though some consider it just a shade of blue.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need