#72186B#72186B

#72186B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.155 H 331.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#72186B
RGBrgb(114, 24, 107)
HSLhsl(305, 65%, 27%)
HSVhsv(305, 79%, 45%)
CMYKcmyk(0%, 78.9%, 6.1%, 55.3%)
CIE-LABlab(27.55, 47.68, -26.82)
CIE-LCHlch(27.55, 54.70, 330.64°)
OKLaboklab(39.6% 0.1364 -0.0739)
OKLCHoklch(39.6% 0.155 331.6)
XYZxyz(9.9199, 5.2930, 14.4063)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186B #18721F
analogous
#4C1872 #72186B #72183E
triadic
#72186B #6B7218 #186B72
tetradic
#72186B #724C18 #18721F #183E72
square
#72186B #724C18 #18721F #183E72
split-complementary
#72186B #3E7218 #18724C
monochromatic
#190518 #3F0D3C #72186B #A5239A #D431C7

Accessibility & contrast

On white

10.20
#72186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#72186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72186B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186B#FFFFFF#000000##FFFFFF
##72186B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#354569
Tritanopia (blue-blind)
#772340
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72186b;
/* rgb */ color: rgb(114, 24, 107);
/* oklch */ color: oklch(39.6% 0.155 331.6);
Tailwind
colors: {
  custom: {
    50: '#9e6096',
    500: '#72186b',
    950: '#000000',
  },
}
SCSS
$custom: #72186b;
$custom-light: #9e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#72186b",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 304.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.15513,
    "h": 331.6
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#72186B
secondary
#3EA747
accent
#E84D40
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72186B

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

Preview Lab → · Contrast checker → · Palette generator →

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