#72198D#72198D

#72198D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.183 H 316.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#72198D
RGBrgb(114, 25, 141)
HSLhsl(286, 70%, 33%)
HSVhsv(286, 82%, 55%)
CMYKcmyk(19.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(29.90, 53.63, -44.54)
CIE-LCHlch(29.90, 69.72, 320.29°)
OKLaboklab(41.98% 0.1326 -0.1256)
OKLCHoklch(41.98% 0.183 316.5)
XYZxyz(12.0940, 6.1963, 25.7531)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72198D #348D19
analogous
#38198D #72198D #8D196E
triadic
#72198D #8D7219 #198D72
tetradic
#72198D #8D3819 #348D19 #196E8D
square
#72198D #8D3819 #348D19 #196E8D
split-complementary
#72198D #6E8D19 #198D38
monochromatic
#1E0725 #481059 #72198D #9C22C1 #BA43DE

Accessibility & contrast

On white

9.38
#72198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#72198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72198D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72198D#FFFFFF#000000##FFFFFF
##72198D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72198d;
/* rgb */ color: rgb(114, 25, 141);
/* oklch */ color: oklch(42.0% 0.183 316.5);
Tailwind
colors: {
  custom: {
    50: '#9f62af',
    500: '#72198d',
    950: '#000000',
  },
}
SCSS
$custom: #72198d;
$custom-light: #9f62af;
$custom-dark: #000000;
JSON
{
  "hex": "#72198d",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 286.034,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.18266,
    "h": 316.5
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#72198D
secondary
#60BF43
accent
#ED3B64
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72198D

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

Preview Lab → · Contrast checker → · Palette generator →

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