#72168E#72168E

#72168E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.186 H 316.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#72168E
RGBrgb(114, 22, 142)
HSLhsl(286, 73%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(19.7%, 84.5%, 0%, 44.3%)
CIE-LABlab(29.68, 54.71, -45.53)
CIE-LCHlch(29.68, 71.18, 320.23°)
OKLaboklab(41.85% 0.1346 -0.1285)
OKLCHoklch(41.85% 0.186 316.3)
XYZxyz(12.1081, 6.1047, 26.1265)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72168E #328E16
analogous
#36168E #72168E #8E166E
triadic
#72168E #8E7216 #168E72
tetradic
#72168E #8E3616 #328E16 #166E8E
square
#72168E #8E3616 #328E16 #166E8E
split-complementary
#72168E #6E8E16 #168E36
monochromatic
#1D0624 #470E59 #72168E #9D1EC3 #BB3DE1

Accessibility & contrast

On white

9.46
#72168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#72168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72168E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72168E#FFFFFF#000000##FFFFFF
##72168E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#14488C
Tritanopia (blue-blind)
#703454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72168e;
/* rgb */ color: rgb(114, 22, 142);
/* oklch */ color: oklch(41.8% 0.186 316.3);
Tailwind
colors: {
  custom: {
    50: '#9f61b0',
    500: '#72168e',
    950: '#000000',
  },
}
SCSS
$custom: #72168e;
$custom-light: #9f61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72168e",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 286,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.18612,
    "h": 316.3
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#72168E
secondary
#5DC13F
accent
#F03863
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72168E

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

Preview Lab → · Contrast checker → · Palette generator →

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