#72186A#72186A

#72186A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.154 H 332.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#72186A
RGBrgb(114, 24, 106)
HSLhsl(305, 65%, 27%)
HSVhsv(305, 79%, 45%)
CMYKcmyk(0%, 78.9%, 7%, 55.3%)
CIE-LABlab(27.50, 47.51, -26.27)
CIE-LCHlch(27.50, 54.29, 331.07°)
OKLaboklab(39.54% 0.1364 -0.0723)
OKLCHoklch(39.54% 0.154 332.1)
XYZxyz(9.8676, 5.2721, 14.1308)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186A #187220
analogous
#4D1872 #72186A #72183D
triadic
#72186A #6A7218 #186A72
tetradic
#72186A #724D18 #187220 #183D72
square
#72186A #724D18 #187220 #183D72
split-complementary
#72186A #3D7218 #18724D
monochromatic
#190518 #3F0D3B #72186A #A52399 #D431C5

Accessibility & contrast

On white

10.22
#72186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#72186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72186A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186A#FFFFFF#000000##FFFFFF
##72186A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#364568
Tritanopia (blue-blind)
#772340
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72186a;
/* rgb */ color: rgb(114, 24, 106);
/* oklch */ color: oklch(39.5% 0.154 332.1);
Tailwind
colors: {
  custom: {
    50: '#9e6095',
    500: '#72186a',
    950: '#000000',
  },
}
SCSS
$custom: #72186a;
$custom-light: #9e6095;
$custom-dark: #000000;
JSON
{
  "hex": "#72186a",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 305.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.15434,
    "h": 332.1
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#72186A
secondary
#3EA748
accent
#E84F40
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72186A

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

Preview Lab → · Contrast checker → · Palette generator →

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