#72197D#72197D

#72197D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.169 H 323.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#72197D
RGBrgb(114, 25, 125)
HSLhsl(293, 67%, 29%)
HSVhsv(293, 80%, 49%)
CMYKcmyk(8.8%, 80%, 0%, 51%)
CIE-LABlab(28.78, 50.55, -36.34)
CIE-LCHlch(28.78, 62.26, 324.28°)
OKLaboklab(40.84% 0.1349 -0.1016)
OKLCHoklch(40.84% 0.169 323)
XYZxyz(10.9884, 5.7540, 19.9299)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72197D #247D19
analogous
#40197D #72197D #7D1956
triadic
#72197D #7D7219 #197D72
tetradic
#72197D #7D4019 #247D19 #19567D
square
#72197D #7D4019 #247D19 #19567D
split-complementary
#72197D #567D19 #197D40
monochromatic
#17051A #430F4A #72197D #A123B0 #C639D7

Accessibility & contrast

On white

9.76
#72197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#72197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72197D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72197D#FFFFFF#000000##FFFFFF
##72197D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#742D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72197d;
/* rgb */ color: rgb(114, 25, 125);
/* oklch */ color: oklch(40.8% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#9e61a3',
    500: '#72197d',
    950: '#000000',
  },
}
SCSS
$custom: #72197d;
$custom-light: #9e61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#72197d",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 293.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.16886,
    "h": 323
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#72197D
secondary
#4DB140
accent
#EA3E51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72197D

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

Preview Lab → · Contrast checker → · Palette generator →

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