#72188D#72188D

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

Color values

HEX#72188D
RGBrgb(114, 24, 141)
HSLhsl(286, 71%, 32%)
HSVhsv(286, 83%, 55%)
CMYKcmyk(19.1%, 83%, 0%, 44.7%)
CIE-LABlab(29.80, 53.93, -44.71)
CIE-LCHlch(29.80, 70.06, 320.34°)
OKLaboklab(41.91% 0.1334 -0.1261)
OKLCHoklch(41.91% 0.184 316.6)
XYZxyz(12.0730, 6.1543, 25.7461)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72188D #338D18
analogous
#38188D #72188D #8D186D
triadic
#72188D #8D7218 #188D72
tetradic
#72188D #8D3818 #338D18 #186D8D
square
#72188D #8D3818 #338D18 #186D8D
split-complementary
#72188D #6D8D18 #188D38
monochromatic
#1D0624 #480F59 #72188D #9C21C1 #BA41DF

Accessibility & contrast

On white

9.41
#72188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#72188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72188D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72188D#FFFFFF#000000##FFFFFF
##72188D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#703454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72188d;
/* rgb */ color: rgb(114, 24, 141);
/* oklch */ color: oklch(41.9% 0.184 316.6);
Tailwind
colors: {
  custom: {
    50: '#9f62af',
    500: '#72188d',
    950: '#000000',
  },
}
SCSS
$custom: #72188d;
$custom-light: #9f62af;
$custom-dark: #000000;
JSON
{
  "hex": "#72188d",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 286.154,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.18356,
    "h": 316.6
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#72188D
secondary
#5FBF42
accent
#EE3A64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72188D

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

Preview Lab → · Contrast checker → · Palette generator →

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