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.
- It is the CSS named color indigo, so you can write
color: indigoinstead of the hex code.
Color conversions
| HEX | #4B0082 |
|---|---|
| RGB | rgb(75, 0, 130) |
| RGB percent | rgb(29.4%, 0%, 51%) |
| HSL | hsl(275, 100%, 25%) |
| HSV / HSB | hsv(275, 100%, 51%) |
| CMYK | cmyk(42%, 100%, 0%, 49%) |
| CIELAB (D65) | lab(20.5 51.7 -53.3) |
| Decimal | 4915330 |
| Binary | 01001011 00000000 10000010 |
HEX 4B 00 82 → 75, 0, 130 (each pair is a base-16 number: 4×16 + B = 75)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #4B0082 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 12.95:1 | Pass | Pass | Pass | Pass |
| Black text | 1.62:1 | Fail | Fail | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| indigo | #4b0082 | 0 |
| darkblue | #00008b | 7.7 |
| navy | #000080 | 7.9 |
| midnightblue | #191970 | 8.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; }