Skip to content

Indigo (#4B0082)

The hex code for Indigo is #4B0082. It is rgb(75, 0, 130) in RGB, hsl(275, 100%, 25%) in HSL, and about cmyk(42%, 100%, 0%, 49%) in CMYK — a dark purple. White text is the more readable choice on this background.

#4B0082
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)
OKLCHoklch(33.9% 0.179 301.7)
LABlab(19.72% 47.03 -54.28)
LCHlch(19.72% 71.82 310.91)

Colors Closest to Indigo

Indigo is a registered color name, also listed as Indigo (Web Color). These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every purple in the library.

#4B0082 Channel Values

How Indigo breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 75 · G 0 · B 1308-bit channels as sent to the display
HSLH 275° · S 100% · L 25%Easiest model for building lighter and darker variants
HSVH 275° · S 100% · V 51%Matches the picker in most design tools
CMYKC 42% · M 100% · Y 0% · K 49%Approximate ink mix; confirm with an ICC profile before printing
Luminance12.95:1 vs white · 1.62:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Indigo background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text12.95:1AA normal AA large AAA normal
Fails AABlack text1.62:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #4B0082 in the contrast checker.

Colors That Go With Indigo

Pairings derived from color-wheel relationships. The complementary color sits opposite Indigo; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Indigo

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #4B0082.

How Indigo Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#4B0082
Protanopia#1D1D82
Protanomaly#351482
Deuteranopia#2A2A81
Deuteranomaly#3A1F82
Tritanopia#3A2F2F
Tritanomaly#41235C
Achromatopsia#313131

Test a full palette in the color blindness simulator.

Using #4B0082 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--indigo: #4B0082;
CSS backgroundbackground-color: #4B0082;
Tailwind configcolors: { 'indigo': '#4B0082' }
SwiftUIColor(red: 0.294, green: 0.000, blue: 0.510)
Android XML<color name="indigo">#4B0082</color>
SVG fillfill="#4B0082"

More Purple Colors

Indigo sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.

#4B0082 Frequently Asked Questions

What is the hex code for Indigo?

The hex code for Indigo is #4B0082. That is rgb(75, 0, 130) in RGB, hsl(275, 100%, 25%) in HSL, and approximately cmyk(42%, 100%, 0%, 49%) in CMYK.

What is the RGB value of #4B0082?

#4B0082 is rgb(75, 0, 130) — red 75, green 0, and blue 130 on the 0-255 scale.

What is the CMYK value of #4B0082?

#4B0082 converts to approximately cmyk(42%, 100%, 0%, 49%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #4B0082 be black or white?

White text is the more readable choice. #4B0082 scores 12.95:1 against white and 1.62:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is Indigo a CSS named color?

Yes. Indigo is one of the CSS named colors, so you can write color: indigo instead of the hex code.

Open Indigo in a Tool

Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.