Skip to content
PantoneTools
purple
CSS Named Colors

Indigo

indigo · #4B0082

HEX

#4B0082

RGB

rgb(75, 0, 130)

CMYK

cmyk(42%, 100%, 0%, 49%)

HSL

hsl(275, 100%, 25%)

LAB

lab(20.5, 51.7, -53.3)

What is Indigo?

Indigo is the indigo reference in the CSS Named Colors. Its sRGB value is #4B0082 (rgb 75, 0, 130). It sits in the purple family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Indigo as a background.

Black text on this color

Sample text · 1.62 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 12.95 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Indigo

An 11-step tonal scale derived from Indigo (#4B0082). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F1EBF5

50

#F1EBF5

#F1EBF5

Copied #E2D6EB

100

#E2D6EB

#E2D6EB

Copied #C5ADD7

200

#C5ADD7

#C5ADD7

Copied #A580C1

300

#A580C1

#A580C1

Copied #7840A1

400

#7840A1

#7840A1

Copied #4B0082

500

#4B0082

#4B0082

Copied #40006F

600

#40006F

#40006F

Copied #310055

700

#310055

#310055

Copied #22003B

800

#22003B

#22003B

Copied #130021

900

#130021

#130021

Copied #090010

950

#090010

#090010

Lighter tints (mixed with white)

Copied #7E6C9E

15%

#7E6C9E

Copied #A095B4

30%

#A095B4

Copied #BAB3C7

45%

#BAB3C7

Copied #D0CBD8

60%

#D0CBD8

Copied #E3E1E8

75%

#E3E1E8

Darker shades (mixed with black)

Copied #450079

15%

#450079

Copied #3F006E

30%

#3F006E

Copied #370062

45%

#370062

Copied #2F0054

60%

#2F0054

Copied #240043

75%

#240043

Color harmonies for Indigo

Classic color-theory harmonies derived from rotating the hue of Indigo. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #4B0082

#4B0082

#4B0082

Copied #358000

#358000

#358000

Triadic

Three colors 120° apart

Copied #4B0082

#4B0082

#4B0082

Copied #804A00

#804A00

#804A00

Copied #00804A

#00804A

#00804A

Analogous

Two neighbors ±30° on the wheel

Copied #0B0080

#0B0080

#0B0080

Copied #4B0082

#4B0082

#4B0082

Copied #800075

#800075

#800075

Split-complementary

Base + two colors flanking its complement

Copied #4B0082

#4B0082

#4B0082

Copied #758000

#758000

#758000

Copied #00800B

#00800B

#00800B

Tetradic

Two complementary pairs

Copied #4B0082

#4B0082

#4B0082

Copied #800035

#800035

#800035

Copied #358000

#358000

#358000

Copied #00804A

#00804A

#00804A

Square

Four colors evenly spaced 90° apart

Copied #4B0082

#4B0082

#4B0082

Copied #800B00

#800B00

#800B00

Copied #358000

#358000

#358000

Copied #007580

#007580

#007580

Indigo in every color space

Full conversion of Indigo across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#4B0082

RGB

rgb(75, 0, 130)

CMYK

cmyk(42%, 100%, 0%, 49%)

HSL

hsl(275, 100%, 25%)

HSV

hsv(275, 100%, 51%)

HWB

hwb(275 0% 49%)

CIE Lab

lab(20.5 51.7 -53.3)

OKLCH

oklch(33.9% 0.179 301.7)

XYZ (D65)

xyz(6.93, 3.11, 21.35)

Copy-ready code for Indigo

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #4B0082;
background-color: #4B0082;

CSS variable

:root {
  --color-indigo: #4B0082;
}

Tailwind config

// tailwind.config.js
colors: {
  'indigo': '#4B0082',
}

Sass

$color-indigo: #4B0082;

Swift UIColor

UIColor(red: 0.294, green: 0.000, blue: 0.510, alpha: 1.0)

Android XML

<color name="indigo">#4B0082</color>

Closest match in every color system

The nearest Indigo equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #1E2460

RAL 5005

#1E2460

Signal blue

Copied #20214F

RAL 5002

#20214F

Ultramarine blue

Copied #252850

RAL 5022

#252850

Night blue

Copied #293133

RAL 7016

#293133

Anthracite grey

Copied #1F3438

RAL 5001

#1F3438

Green blue

Copied #23282B

RAL 7021

#23282B

Black grey

FAQ about Indigo

What is the HEX code for Indigo?

Indigo (indigo) has the HEX code #4B0082. In RGB it is rgb(75, 0, 130), and in CMYK it is cmyk(42%, 100%, 0%, 49%).

What is the OKLCH value of Indigo?

Indigo converts to oklch(0.339 0.179 301.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Indigo accessible for body text?

Used as a background, Indigo has a contrast ratio of 1.62:1 with black text and 12.95:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Indigo?

The closest Pantone reference to Indigo by ΔE2000 perceptual distance is Pantone Violet C (#440099). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Indigo?

The closest RAL Classic reference to Indigo by ΔE2000 distance is RAL 5005 (Signal blue, #1E2460). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Indigo?

The complementary color (180° opposite on the HSL color wheel) of Indigo is #358000. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
purple

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Indigo — #4B0082 | PantoneTools