#72186E#72186E

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

Color values

HEX#72186E
RGBrgb(114, 24, 110)
HSLhsl(303, 65%, 27%)
HSVhsv(303, 79%, 45%)
CMYKcmyk(0%, 78.9%, 3.5%, 55.3%)
CIE-LABlab(27.73, 48.19, -28.47)
CIE-LCHlch(27.73, 55.97, 329.42°)
OKLaboklab(39.78% 0.1364 -0.0787)
OKLCHoklch(39.78% 0.158 330)
XYZxyz(10.0805, 5.3573, 15.2520)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72186E #18721C
analogous
#491872 #72186E #721841
triadic
#72186E #6E7218 #186E72
tetradic
#72186E #724918 #18721C #184172
square
#72186E #724918 #18721C #184172
split-complementary
#72186E #417218 #187249
monochromatic
#190518 #3F0D3D #72186E #A5239F #D431CC

Accessibility & contrast

On white

10.14
#72186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72186E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72186E#FFFFFF#000000##FFFFFF
##72186E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#34466C
Tritanopia (blue-blind)
#762542
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72186e;
/* rgb */ color: rgb(114, 24, 110);
/* oklch */ color: oklch(39.8% 0.158 330.0);
Tailwind
colors: {
  custom: {
    50: '#9e6098',
    500: '#72186e',
    950: '#000000',
  },
}
SCSS
$custom: #72186e;
$custom-light: #9e6098;
$custom-dark: #000000;
JSON
{
  "hex": "#72186e",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 302.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.1575,
    "h": 330
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#72186E
secondary
#3EA743
accent
#E84740
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #72186E

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

Preview Lab → · Contrast checker → · Palette generator →

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