#72186C#72186C

#72186C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.156 H 331.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#72186C
RGBrgb(114, 24, 108)
HSLhsl(304, 65%, 27%)
HSVhsv(304, 79%, 45%)
CMYKcmyk(0%, 78.9%, 5.3%, 55.3%)
CIE-LABlab(27.61, 47.85, -27.37)
CIE-LCHlch(27.61, 55.12, 330.23°)
OKLaboklab(39.66% 0.1364 -0.0755)
OKLCHoklch(39.66% 0.156 331)
XYZxyz(9.9728, 5.3142, 14.6849)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186C #18721E
analogous
#4B1872 #72186C #72183F
triadic
#72186C #6C7218 #186C72
tetradic
#72186C #724B18 #18721E #183F72
square
#72186C #724B18 #18721E #183F72
split-complementary
#72186C #3F7218 #18724B
monochromatic
#190518 #3F0D3C #72186C #A5239C #D431C9

Accessibility & contrast

On white

10.18
#72186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72186C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186C#FFFFFF#000000##FFFFFF
##72186C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#35466A
Tritanopia (blue-blind)
#772441
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72186c;
/* rgb */ color: rgb(114, 24, 108);
/* oklch */ color: oklch(39.7% 0.156 331.0);
Tailwind
colors: {
  custom: {
    50: '#9e6096',
    500: '#72186c',
    950: '#000000',
  },
}
SCSS
$custom: #72186c;
$custom-light: #9e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#72186c",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 304,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.15591,
    "h": 331
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#72186C
secondary
#3EA745
accent
#E84B40
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72186C

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

Preview Lab → · Contrast checker → · Palette generator →

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