AfoliOpen Afoli →

Indigo color #4B0082

Indigo is one of the CSS named colors (keyword indigo) with the hex code #4B0082 — RGB 75, 0, 130, HSL 275°, 100%, 25%.

Open in Afoli Colour tools →

#4B0082Indigo

Color codes

HEX
#4B0082
RGB
rgb(75, 0, 130)
HSL
hsl(275, 100%, 25%)
CMYK
42%, 100%, 0%, 49%
OKLCH
oklch(33.9% 0.179 301.7)
CSS keyword
indigo

Tints and shades

#F7F3FF#E2D0FF#CDADFF#BA88FF#A26DE6#8953CA#7139AF#5A1D94#430075#2A004C#120027

Color harmonies

Complementary
#4B0082#313E00
Analogous
#1F1F92#4B0082#60005A
Triadic
#4B0082#542C00#00423A
Split complementary
#4B0082#453600#00441E
Tetradic
#4B0082#6B0B00#313E00#003F49

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Indigo text on white12.95 : 197AAA — any text
Indigo text on black1.62 : 10Fails for text
White text on Indigo12.95 : 1-101AAA — any text
Black text on Indigo1.62 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Indigo?

Indigo has the hex code #4B0082, which is RGB 75, 0, 130 and HSL 275°, 100%, 25%.

Which text color reads best on Indigo?

White text: contrast 12.95 : 1 (black text: 1.62 : 1).

Which colors go well with Indigo?

Its complementary color is #313E00; analogous colors are #1F1F92 and #60005A; a triadic set adds #542C00 and #00423A.

Similar colors

Sources and licences

Updated November 21, 2026