#72188F#72188F

#72188F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.185 H 315.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#72188F
RGBrgb(114, 24, 143)
HSLhsl(285, 71%, 33%)
HSVhsv(285, 83%, 56%)
CMYKcmyk(20.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(29.95, 54.33, -45.71)
CIE-LCHlch(29.95, 71.00, 319.93°)
OKLaboklab(42.06% 0.133 -0.129)
OKLCHoklch(42.06% 0.185 315.9)
XYZxyz(12.2232, 6.2143, 26.5369)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72188F #358F18
analogous
#36188F #72188F #8F1870
triadic
#72188F #8F7218 #188F72
tetradic
#72188F #8F3618 #358F18 #18708F
square
#72188F #8F3618 #358F18 #18708F
split-complementary
#72188F #708F18 #188F36
monochromatic
#1E0626 #480F5B #72188F #9C21C3 #B942DF

Accessibility & contrast

On white

9.36
#72188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72188F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72188F#FFFFFF#000000##FFFFFF
##72188F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#703555
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72188f;
/* rgb */ color: rgb(114, 24, 143);
/* oklch */ color: oklch(42.1% 0.185 315.9);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#72188f',
    950: '#000000',
  },
}
SCSS
$custom: #72188f;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72188f",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 285.378,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.1853,
    "h": 315.9
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#72188F
secondary
#61C043
accent
#EE3A66
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72188F

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

Preview Lab → · Contrast checker → · Palette generator →

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