#721B8A#721B8A

#721B8A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.178 H 317.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#721B8A
RGBrgb(114, 27, 138)
HSLhsl(287, 67%, 32%)
HSVhsv(287, 80%, 54%)
CMYKcmyk(17.4%, 80.4%, 0%, 45.9%)
CIE-LABlab(29.90, 52.40, -42.68)
CIE-LCHlch(29.90, 67.58, 320.84°)
OKLaboklab(41.91% 0.1315 -0.1202)
OKLCHoklch(41.91% 0.178 317.6)
XYZxyz(11.9181, 6.1968, 24.6081)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721B8A #338A1B
analogous
#3A1B8A #721B8A #8A1B6B
triadic
#721B8A #8A721B #1B8A72
tetradic
#721B8A #8A3A1B #338A1B #1B6B8A
square
#721B8A #8A3A1B #338A1B #1B6B8A
split-complementary
#721B8A #6B8A1B #1B8A3A
monochromatic
#1D0724 #481157 #721B8A #9C25BD #BA45DB

Accessibility & contrast

On white

9.38
#721B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#721B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721B8A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721B8A#FFFFFF#000000##FFFFFF
##721B8A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#713453
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #721b8a;
/* rgb */ color: rgb(114, 27, 138);
/* oklch */ color: oklch(41.9% 0.178 317.6);
Tailwind
colors: {
  custom: {
    50: '#9e63ad',
    500: '#721b8a',
    950: '#000000',
  },
}
SCSS
$custom: #721b8a;
$custom-light: #9e63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#721b8a",
  "rgb": {
    "r": 114,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 287.027,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.17814,
    "h": 317.6
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#721B8A
secondary
#5FBC45
accent
#EA3E63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721B8A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#721B8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva