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
White text on this color
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.
50
#F1EBF5
#F1EBF5
100
#E2D6EB
#E2D6EB
200
#C5ADD7
#C5ADD7
300
#A580C1
#A580C1
400
#7840A1
#7840A1
500
#4B0082
#4B0082
600
#40006F
#40006F
700
#310055
#310055
800
#22003B
#22003B
900
#130021
#130021
950
#090010
#090010
Lighter tints (mixed with white)
15%
#7E6C9E
30%
#A095B4
45%
#BAB3C7
60%
#D0CBD8
75%
#E3E1E8
Darker shades (mixed with black)
15%
#450079
30%
#3F006E
45%
#370062
60%
#2F0054
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
#4B0082
#4B0082
#358000
#358000
Triadic
Three colors 120° apart
#4B0082
#4B0082
#804A00
#804A00
#00804A
#00804A
Analogous
Two neighbors ±30° on the wheel
#0B0080
#0B0080
#4B0082
#4B0082
#800075
#800075
Split-complementary
Base + two colors flanking its complement
#4B0082
#4B0082
#758000
#758000
#00800B
#00800B
Tetradic
Two complementary pairs
#4B0082
#4B0082
#800035
#800035
#358000
#358000
#00804A
#00804A
Square
Four colors evenly spaced 90° apart
#4B0082
#4B0082
#800B00
#800B00
#358000
#358000
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 5005
#1E2460
Signal blue
RAL 5002
#20214F
Ultramarine blue
RAL 5022
#252850
Night blue
RAL 7016
#293133
Anthracite grey
RAL 5001
#1F3438
Green blue
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 named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.