#72197F#72197F

#72197F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.171 H 322.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#72197F
RGBrgb(114, 25, 127)
HSLhsl(292, 67%, 30%)
HSVhsv(292, 80%, 50%)
CMYKcmyk(10.2%, 80.3%, 0%, 50.2%)
CIE-LABlab(28.92, 50.92, -37.39)
CIE-LCHlch(28.92, 63.17, 323.71°)
OKLaboklab(40.97% 0.1347 -0.1047)
OKLCHoklch(40.97% 0.171 322.1)
XYZxyz(11.1174, 5.8056, 20.6096)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72197F #267F19
analogous
#3F197F #72197F #7F1959
triadic
#72197F #7F7219 #197F72
tetradic
#72197F #7F3F19 #267F19 #19597F
square
#72197F #7F3F19 #267F19 #19597F
split-complementary
#72197F #597F19 #197F3F
monochromatic
#17051A #440F4C #72197F #A023B2 #C43AD8

Accessibility & contrast

On white

9.72
#72197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72197F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72197F#FFFFFF#000000##FFFFFF
##72197F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#29477D
Tritanopia (blue-blind)
#732E4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72197f;
/* rgb */ color: rgb(114, 25, 127);
/* oklch */ color: oklch(41.0% 0.171 322.1);
Tailwind
colors: {
  custom: {
    50: '#9e62a5',
    500: '#72197f',
    950: '#000000',
  },
}
SCSS
$custom: #72197f;
$custom-light: #9e62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72197f",
  "rgb": {
    "r": 114,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 292.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.17056,
    "h": 322.1
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#72197F
secondary
#4FB341
accent
#EA3E54
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72197F

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

Preview Lab → · Contrast checker → · Palette generator →

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