#72217E#72217E

#72217E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.161 H 322.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#72217E
RGBrgb(114, 33, 126)
HSLhsl(292, 58%, 31%)
HSVhsv(292, 74%, 49%)
CMYKcmyk(9.5%, 73.8%, 0%, 50.6%)
CIE-LABlab(29.84, 47.89, -35.28)
CIE-LCHlch(29.84, 59.48, 323.62°)
OKLaboklab(41.61% 0.1271 -0.0985)
OKLCHoklch(41.61% 0.161 322.2)
XYZxyz(11.2488, 6.1721, 20.3335)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72217E #2D7E21
analogous
#43217E #72217E #7E215B
triadic
#72217E #7E7221 #217E72
tetradic
#72217E #7E4321 #2D7E21 #215B7E
square
#72217E #7E4321 #2D7E21 #215B7E
split-complementary
#72217E #5B7E21 #217E43
monochromatic
#1A081D #46144E #72217E #9E2EAE #BE4AD0

Accessibility & contrast

On white

9.40
#72217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#72217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72217E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72217E#FFFFFF#000000##FFFFFF
##72217E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#73324D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72217e;
/* rgb */ color: rgb(114, 33, 126);
/* oklch */ color: oklch(41.6% 0.161 322.2);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#72217e',
    950: '#000000',
  },
}
SCSS
$custom: #72217e;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72217e",
  "rgb": {
    "r": 114,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 292.258,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.16082,
    "h": 322.2
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#72217E
secondary
#57B14A
accent
#E2465A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72217E

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

Preview Lab → · Contrast checker → · Palette generator →

#72217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva