#72157B#72157B

#72157B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.171 H 324.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#72157B
RGBrgb(114, 21, 123)
HSLhsl(295, 71%, 28%)
HSVhsv(295, 83%, 48%)
CMYKcmyk(7.3%, 82.9%, 0%, 51.8%)
CIE-LABlab(28.23, 51.39, -35.96)
CIE-LCHlch(28.23, 62.72, 325.01°)
OKLaboklab(40.41% 0.1384 -0.1004)
OKLCHoklch(40.41% 0.171 324)
XYZxyz(10.7824, 5.5445, 19.2373)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72157B #1E7B15
analogous
#3F157B #72157B #7B1551
triadic
#72157B #7B7215 #157B72
tetradic
#72157B #7B3F15 #1E7B15 #15517B
square
#72157B #7B3F15 #1E7B15 #15517B
split-complementary
#72157B #517B15 #157B3F
monochromatic
#18041A #420C47 #72157B #A21EAF #CC2FDB

Accessibility & contrast

On white

9.96
#72157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#72157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72157B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72157B#FFFFFF#000000##FFFFFF
##72157B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#742A49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72157b;
/* rgb */ color: rgb(114, 21, 123);
/* oklch */ color: oklch(40.4% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#9e60a2',
    500: '#72157b',
    950: '#000000',
  },
}
SCSS
$custom: #72157b;
$custom-light: #9e60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72157b",
  "rgb": {
    "r": 114,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 294.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.17099,
    "h": 324
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#72157B
secondary
#46B03B
accent
#EE3A4A
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72157B

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

Preview Lab → · Contrast checker → · Palette generator →

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