Indigo color: hex code #4B0082

#4B0082 rgb(75, 0, 130)
Shades of purple

Indigo has the hex code #4B0082. It is a dark, vivid violet.

In the RGB color model it is made of 29.4% red, 0% green and 51% blue (75, 0, 130).

Its hue angle is 275°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 42% cyan, 100% magenta, 0% yellow and 49% black.

You can use it in CSS with the keyword indigo.

White text is the more readable choice on this background (contrast 12.95:1).

Indigo (#4B0082) color codes

HEX#4B0082
RGBrgb(75, 0, 130)
RGB percentrgb(29.4%, 0%, 51%)
HSLhsl(275, 100%, 25%)
HSV / HSBhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)
CIE LABlab(20.47, 51.69, -53.31)
CIE LCHlch(20.47, 74.25, 314.11)
CIE XYZxyz(6.93, 3.108, 21.349)
Decimal4915330
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Indigo, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #4B0082RatioAAAAAAA large
Sample text1.62:1FailFailFail
Sample text12.95:1PassPassPass
#4B0082 as text onRatioAAAAAAA large
Sample text12.95:1PassPassPass
Sample text1.62:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #4B0082 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4b0082; }
.text { color: #4b0082; }
.border { border: 2px solid #4b0082; }
.transparent { background-color: rgb(75 0 130 / 50%); }
.gradient { background: linear-gradient(to right, #4b0082, #820078); }
Background
Text color
Border

Similar colors

See #4B0082 on its hex code page

Questions

What color is #4B0082?
#4B0082 is a dark, vivid violet known as Indigo. It belongs to the purple family of colors.
What is the RGB value of Indigo?
The RGB value is 75, 0, 130: 75 red, 0 green and 130 blue on a 0 to 255 scale.
What is the complementary color of Indigo?
The complementary color is #378200, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4B0082?
White text. Black text has a contrast ratio of 1.62:1 and white text 12.95:1. WCAG asks for at least 4.5:1 for normal text.