#72157E#72157E

#72157E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.173 H 322.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#72157E
RGBrgb(114, 21, 126)
HSLhsl(293, 71%, 29%)
HSVhsv(293, 83%, 49%)
CMYKcmyk(9.5%, 83.3%, 0%, 50.6%)
CIE-LABlab(28.43, 51.93, -37.53)
CIE-LCHlch(28.43, 64.08, 324.14°)
OKLaboklab(40.61% 0.138 -0.105)
OKLCHoklch(40.61% 0.173 322.7)
XYZxyz(10.9731, 5.6208, 20.2416)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72157E #217E15
analogous
#3E157E #72157E #7E1556
triadic
#72157E #7E7215 #157E72
tetradic
#72157E #7E3E15 #217E15 #15567E
square
#72157E #7E3E15 #217E15 #15567E
split-complementary
#72157E #567E15 #157E3E
monochromatic
#18041A #430C4A #72157E #A11EB2 #C931DD

Accessibility & contrast

On white

9.89
#72157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#72157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72157E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72157E#FFFFFF#000000##FFFFFF
##72157E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#742B4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72157e;
/* rgb */ color: rgb(114, 21, 126);
/* oklch */ color: oklch(40.6% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#9e60a4',
    500: '#72157e',
    950: '#000000',
  },
}
SCSS
$custom: #72157e;
$custom-light: #9e60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72157e",
  "rgb": {
    "r": 114,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 293.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.17346,
    "h": 322.7
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#72157E
secondary
#49B33C
accent
#EE3A4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72157E

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

Preview Lab → · Contrast checker → · Palette generator →

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