#72157F#72157F

#72157F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.174 H 322.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#72157F
RGBrgb(114, 21, 127)
HSLhsl(293, 72%, 29%)
HSVhsv(293, 83%, 50%)
CMYKcmyk(10.2%, 83.5%, 0%, 50.2%)
CIE-LABlab(28.50, 52.12, -38.05)
CIE-LCHlch(28.50, 64.53, 323.87°)
OKLaboklab(40.68% 0.1379 -0.1066)
OKLCHoklch(40.68% 0.174 322.3)
XYZxyz(11.0380, 5.6467, 20.5831)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72157F #227F15
analogous
#3D157F #72157F #7F1557
triadic
#72157F #7F7215 #157F72
tetradic
#72157F #7F3D15 #227F15 #15577F
square
#72157F #7F3D15 #227F15 #15577F
split-complementary
#72157F #577F15 #157F3D
monochromatic
#18041A #430C4A #72157F #A11EB4 #C831DD

Accessibility & contrast

On white

9.86
#72157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#72157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72157F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72157F#FFFFFF#000000##FFFFFF
##72157F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#732C4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72157f;
/* rgb */ color: rgb(114, 21, 127);
/* oklch */ color: oklch(40.7% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#9e60a5',
    500: '#72157f',
    950: '#000000',
  },
}
SCSS
$custom: #72157f;
$custom-light: #9e60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72157f",
  "rgb": {
    "r": 114,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 292.642,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.17429,
    "h": 322.3
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#72157F
secondary
#4BB43C
accent
#EE3950
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72157F

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

Preview Lab → · Contrast checker → · Palette generator →

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