#4B0082 color (indigo)

#4B0082 is rgb(75, 0, 130) in RGB and hsl(275, 100%, 25%) in HSL. It is exactly the CSS color indigo. Use white text on it (contrast 12.95:1).

#4B0082indigo
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%)
CIELAB (D65)lab(20.5 51.7 -53.3)

Edit in the color converter → · Check contrast → · Shades →

About #4B0082

#4B0082 is a dark, vivid purple with a hue angle of 275°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 130 (51%) and green the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

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%)
CIELAB (D65)lab(20.5 51.7 -53.3)
Decimal4915330
Binary01001011 00000000 10000010

HEX 4B 00 82 → 75, 0, 130 (each pair is a base-16 number: 4×16 + B = 75)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #4B0082

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #4B0082RatioAA normalAA largeAAA normalAAA large
White text12.95:1PassPassPassPass
Black text1.62:1FailFailFailFail
White text on #4B0082
Black text on #4B0082
#4B0082 text on white
#4B0082 text on black

Relative luminance is 0.0311 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#003185

Deuteranopia
#003180

Tritanopia
#3e2e4a

Achromatopsia
#313131

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 15.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
indigo#4b00820
darkblue#00008b7.7
navy#0000807.9
midnightblue#1919708.9

CSS

.element {
  color: #4b0082;
  background-color: rgb(75, 0, 130);
  border: 1px solid hsl(275, 100%, 25%);
  box-shadow: 0 2px 8px rgb(75 0 130 / 50%);
}
:root { --brand: #4b0082; }

Frequently asked questions

What color is #4B0082?
A dark vivid purple in the purple family. Closest CSS name: indigo.
What is #4B0082 in RGB?
rgb(75, 0, 130): red 75, green 0, blue 130.
What is the complementary color of #4B0082?
#378200, found by rotating the hue 180°.