#72186F#72186F

#72186F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.158 H 329.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#72186F
RGBrgb(114, 24, 111)
HSLhsl(302, 65%, 27%)
HSVhsv(302, 79%, 45%)
CMYKcmyk(0%, 78.9%, 2.6%, 55.3%)
CIE-LABlab(27.79, 48.36, -29.02)
CIE-LCHlch(27.79, 56.40, 329.03°)
OKLaboklab(39.85% 0.1365 -0.0802)
OKLCHoklch(39.85% 0.158 329.5)
XYZxyz(10.1352, 5.3792, 15.5403)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186F #18721B
analogous
#481872 #72186F #721842
triadic
#72186F #6F7218 #186F72
tetradic
#72186F #724818 #18721B #184272
square
#72186F #724818 #18721B #184272
split-complementary
#72186F #427218 #187248
monochromatic
#190519 #3F0D3E #72186F #A523A0 #D431CE

Accessibility & contrast

On white

10.12
#72186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#72186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72186F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186F#FFFFFF#000000##FFFFFF
##72186F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#33466D
Tritanopia (blue-blind)
#762543
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #72186f;
/* rgb */ color: rgb(114, 24, 111);
/* oklch */ color: oklch(39.8% 0.158 329.5);
Tailwind
colors: {
  custom: {
    50: '#9e6099',
    500: '#72186f',
    950: '#000000',
  },
}
SCSS
$custom: #72186f;
$custom-light: #9e6099;
$custom-dark: #000000;
JSON
{
  "hex": "#72186f",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 302,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.15831,
    "h": 329.5
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#72186F
secondary
#3EA742
accent
#E84540
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #72186F

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

Preview Lab → · Contrast checker → · Palette generator →

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