Indigo — #4B0082
#4B0082 is a dark, vivid violet. It is the CSS named color indigo.
Color values
| HEX | #4B0082 |
| RGB | rgb(75, 0, 130) |
| HSL | hsl(275, 100%, 25%) |
| CMYK | cmyk(42%, 100%, 0%, 49%) |
| Decimal | 4915330 |
| CSS | color: #4B0082; |
| Android | 0xFF4B0082 |
| Swift | UIColor(red: 0.294, green: 0.000, blue: 0.510, alpha: 1) |
Accessibility and contrast
| White text on #4B0082 | 12.95:1 — AA pass · AA large pass · AAA pass |
| Black text on #4B0082 | 1.62:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #4B0082
Each swatch keeps the hue and saturation of #4B0082 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #4B0082
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #4B0082 in code
/* CSS */
.element { color: #4B0082; background-color: #4B0082; }
.element { color: rgb(75 0 130); }
.element { color: hsl(275 100% 25%); }
/* Tailwind arbitrary value */
<div class="bg-[#4B0082] text-white">
/* SCSS variable */
$brand: #4B0082;
Frequently asked questions
What color is #4B0082?
#4B0082 is a dark, vivid violet, which CSS calls indigo. Its hue sits at 275° on the color wheel, with 100% saturation and 25% lightness.
What is #4B0082 in RGB?
#4B0082 converts to rgb(75, 0, 130) — 75 red, 0 green and 130 blue.
What is #4B0082 in CMYK?
Approximately cmyk(42%, 100%, 0%, 49%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #4B0082 be white or black?
White gives the better contrast ratio (12.95:1 versus 1.62:1).
What is the complementary color of #4B0082?
#358000 — the hue directly opposite #4B0082 on the color wheel.