#72198F#72198F

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

Color values

HEX#72198F
RGBrgb(114, 25, 143)
HSLhsl(285, 70%, 33%)
HSVhsv(285, 83%, 56%)
CMYKcmyk(20.3%, 82.5%, 0%, 43.9%)
CIE-LABlab(30.05, 54.03, -45.54)
CIE-LCHlch(30.05, 70.66, 319.87°)
OKLaboklab(42.13% 0.1322 -0.1286)
OKLCHoklch(42.13% 0.184 315.8)
XYZxyz(12.2442, 6.2563, 26.5439)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72198F #368F19
analogous
#37198F #72198F #8F1971
triadic
#72198F #8F7219 #198F72
tetradic
#72198F #8F3719 #368F19 #19718F
square
#72198F #8F3719 #368F19 #19718F
split-complementary
#72198F #718F19 #198F37
monochromatic
#1F0727 #48105B #72198F #9C22C3 #B844DE

Accessibility & contrast

On white

9.33
#72198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72198F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72198F#FFFFFF#000000##FFFFFF
##72198F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72198f;
/* rgb */ color: rgb(114, 25, 143);
/* oklch */ color: oklch(42.1% 0.184 315.8);
Tailwind
colors: {
  custom: {
    50: '#9f62b0',
    500: '#72198f',
    950: '#000000',
  },
}
SCSS
$custom: #72198f;
$custom-light: #9f62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72198f",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 285.254,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.18442,
    "h": 315.8
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#72198F
secondary
#63BF44
accent
#ED3B67
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72198F

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

Preview Lab → · Contrast checker → · Palette generator →

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