#72198E#72198E

#72198E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.184 H 316.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#72198E
RGBrgb(114, 25, 142)
HSLhsl(286, 70%, 33%)
HSVhsv(286, 82%, 56%)
CMYKcmyk(19.7%, 82.4%, 0%, 44.3%)
CIE-LABlab(29.98, 53.83, -45.04)
CIE-LCHlch(29.98, 70.19, 320.08°)
OKLaboklab(42.06% 0.1324 -0.1271)
OKLCHoklch(42.06% 0.184 316.2)
XYZxyz(12.1688, 6.2262, 26.1467)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72198E #358E19
analogous
#37198E #72198E #8E196F
triadic
#72198E #8E7219 #198E72
tetradic
#72198E #8E3719 #358E19 #196F8E
square
#72198E #8E3719 #358E19 #196F8E
split-complementary
#72198E #6F8E19 #198E37
monochromatic
#1E0726 #48105A #72198E #9C22C2 #B943DE

Accessibility & contrast

On white

9.35
#72198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#72198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72198E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72198E#FFFFFF#000000##FFFFFF
##72198E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#703554
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72198e;
/* rgb */ color: rgb(114, 25, 142);
/* oklch */ color: oklch(42.1% 0.184 316.2);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#72198e',
    950: '#000000',
  },
}
SCSS
$custom: #72198e;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72198e",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 285.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.18354,
    "h": 316.2
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#72198E
secondary
#61BF44
accent
#ED3B66
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72198E

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

Preview Lab → · Contrast checker → · Palette generator →

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