#72188E#72188E

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

Color values

HEX#72188E
RGBrgb(114, 24, 142)
HSLhsl(286, 71%, 33%)
HSVhsv(286, 83%, 56%)
CMYKcmyk(19.7%, 83.1%, 0%, 44.3%)
CIE-LABlab(29.87, 54.13, -45.21)
CIE-LCHlch(29.87, 70.53, 320.13°)
OKLaboklab(41.99% 0.1332 -0.1276)
OKLCHoklch(41.99% 0.184 316.2)
XYZxyz(12.1478, 6.1842, 26.1397)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72188E #348E18
analogous
#37188E #72188E #8E186F
triadic
#72188E #8E7218 #188E72
tetradic
#72188E #8E3718 #348E18 #186F8E
square
#72188E #8E3718 #348E18 #186F8E
split-complementary
#72188E #6F8E18 #188E37
monochromatic
#1E0625 #480F5A #72188E #9C21C2 #BA41DF

Accessibility & contrast

On white

9.39
#72188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#72188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72188E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72188E#FFFFFF#000000##FFFFFF
##72188E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#703554
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72188e;
/* rgb */ color: rgb(114, 24, 142);
/* oklch */ color: oklch(42.0% 0.184 316.2);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#72188e',
    950: '#000000',
  },
}
SCSS
$custom: #72188e;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72188e",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 285.763,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.18443,
    "h": 316.2
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#72188E
secondary
#60C042
accent
#EE3A65
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72188E

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

Preview Lab → · Contrast checker → · Palette generator →

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