#72197E#72197E

#72197E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.170 H 322.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#72197E
RGBrgb(114, 25, 126)
HSLhsl(293, 67%, 30%)
HSVhsv(293, 80%, 49%)
CMYKcmyk(9.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(28.85, 50.73, -36.87)
CIE-LCHlch(28.85, 62.71, 323.99°)
OKLaboklab(40.91% 0.1348 -0.1031)
OKLCHoklch(40.91% 0.17 322.6)
XYZxyz(11.0526, 5.7797, 20.2680)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72197E #257E19
analogous
#3F197E #72197E #7E1958
triadic
#72197E #7E7219 #197E72
tetradic
#72197E #7E3F19 #257E19 #19587E
square
#72197E #7E3F19 #257E19 #19587E
split-complementary
#72197E #587E19 #197E3F
monochromatic
#17051A #440F4B #72197E #A023B1 #C53AD8

Accessibility & contrast

On white

9.74
#72197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#72197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72197E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72197E#FFFFFF#000000##FFFFFF
##72197E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#742D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72197e;
/* rgb */ color: rgb(114, 25, 126);
/* oklch */ color: oklch(40.9% 0.170 322.6);
Tailwind
colors: {
  custom: {
    50: '#9e61a4',
    500: '#72197e',
    950: '#000000',
  },
}
SCSS
$custom: #72197e;
$custom-light: #9e61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72197e",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 292.871,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.16971,
    "h": 322.6
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#72197E
secondary
#4EB241
accent
#EA3E52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72197E

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

Preview Lab → · Contrast checker → · Palette generator →

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