#72186D#72186D

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

Color values

HEX#72186D
RGBrgb(114, 24, 109)
HSLhsl(303, 65%, 27%)
HSVhsv(303, 79%, 45%)
CMYKcmyk(0%, 78.9%, 4.4%, 55.3%)
CIE-LABlab(27.67, 48.02, -27.92)
CIE-LCHlch(27.67, 55.55, 329.82°)
OKLaboklab(39.72% 0.1364 -0.0771)
OKLCHoklch(39.72% 0.157 330.5)
XYZxyz(10.0264, 5.3356, 14.9668)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186D #18721D
analogous
#4A1872 #72186D #721840
triadic
#72186D #6D7218 #186D72
tetradic
#72186D #724A18 #18721D #184072
square
#72186D #724A18 #18721D #184072
split-complementary
#72186D #407218 #18724A
monochromatic
#190518 #3F0D3D #72186D #A5239D #D431CB

Accessibility & contrast

On white

10.16
#72186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#72186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72186D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186D#FFFFFF#000000##FFFFFF
##72186D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3A6F
Deuteranopia (green-blind)
#34466B
Tritanopia (blue-blind)
#772441
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72186d;
/* rgb */ color: rgb(114, 24, 109);
/* oklch */ color: oklch(39.7% 0.157 330.5);
Tailwind
colors: {
  custom: {
    50: '#9e6097',
    500: '#72186d',
    950: '#000000',
  },
}
SCSS
$custom: #72186d;
$custom-light: #9e6097;
$custom-dark: #000000;
JSON
{
  "hex": "#72186d",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 303.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.15671,
    "h": 330.5
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#72186D
secondary
#3EA744
accent
#E84940
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72186D

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

Preview Lab → · Contrast checker → · Palette generator →

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