#4B0082

#4B0082 is the hex color Indigo. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #4B0082; the exact match is Indigo.

Open #4B0082 in the picker

#4B0082 color codes

HEX
#4B0082
HEX8
#4B0082FF
HEX8 (Android)
#FF4B0082
RGB
rgb(75, 0, 130)
RGB (%)
29%, 0%, 51%
HSL
hsl(275, 100%, 25%)
HSV / HSB
hsv(275, 100%, 51%)
CMYK
cmyk(42%, 100%, 0%, 49%)
OKLCH
oklch(0.339 0.1793 301.68)
OKLCH (%)
oklch(33.9% 0.1793 301.68)
Decimal
4915330

What color is #4B0082?

#4B0082 sits at 34% lightness and 0.1793 chroma in OKLCH, hue 301.68°. Its nearest named color is Indigo (an exact match).

Shades and tints of #4B0082

Tints

Shades

Tones

#4B0082 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #4B0082 in CSS

.text       { color: #4B0082; }
.background { background-color: #4B0082; }
.border     { border: 2px solid #4B0082; }

/* Modern, perceptually uniform */
.text { color: oklch(0.339 0.1793 301.68); }

/* #4B0082 at 50% transparency */
.overlay { background-color: #4B008280; }

Is #4B0082 accessible?

#4B0082 on white text scores 12.95:1; on black text it scores 1.62:1. White text passes WCAG AAA on #4B0082. Recommended text color on a #4B0082 background: white.

A 1.62:1 vs black
A 12.95:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#4B0082) → white
APCA Lc experimental 100.8 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Purple #800080. See more in the purple family on the colors hub.

Frequently asked questions

What color is #4B0082?
#4B0082 is Indigo. In RGB it is rgb(75, 0, 130), and in HSL hsl(275, 100%, 25%).
What is #4B0082 in RGB?
#4B0082 converts to rgb(75, 0, 130) — red 75, green 0, blue 130.
What text color is readable on #4B0082?
White text — it has the higher contrast ratio (12.95:1) against #4B0082. White text passes WCAG AAA on #4B0082.
Open #4B0082 in the picker