indigo (#4B0082)

indigo is a CSS named color with the hex code #4B0082, rgb(75, 0, 130). It is a dark, vivid purple.

indigo#4B0082
Keywordindigo
HEX#4b0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)

Full #4B0082 details: palettes, shades, color-blind view →

Description

Indigo has a hue of 275°, saturation 100% and lightness 25%, which places it in the purple family. Its strongest channel is blue (130).

Using indigo in CSS

.title { color: indigo; }
.box   { background: indigo; border-color: #4b0082; }
.soft  { background: rgb(75 0 130 / 20%); }   /* indigo at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
darkblue#00008b0, 0, 1397.7
navy#0000800, 0, 1287.9
midnightblue#19197025, 25, 1128.9
rebeccapurple#663399102, 51, 1539.6
purple#800080128, 0, 12810.9
mediumblue#0000cd0, 0, 20511
darkslateblue#483d8b72, 61, 13912.2
darkmagenta#8b008b139, 0, 13912.4

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 12.95:1; with black text: 1.62:1. White body text on indigo meets WCAG AA.

Frequently asked questions

What is the hex code for indigo?
#4B0082.
What colors are similar to indigo?
darkblue (#00008b), navy (#000080), midnightblue (#191970).