#72168A#72168A

#72168A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 317.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#72168A
RGBrgb(114, 22, 138)
HSLhsl(288, 73%, 31%)
HSVhsv(288, 84%, 54%)
CMYKcmyk(17.4%, 84.1%, 0%, 45.9%)
CIE-LABlab(29.38, 53.92, -43.53)
CIE-LCHlch(29.38, 69.30, 321.09°)
OKLaboklab(41.55% 0.1354 -0.1226)
OKLCHoklch(41.55% 0.183 317.8)
XYZxyz(11.8131, 5.9868, 24.5731)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72168A #2E8A16
analogous
#38168A #72168A #8A1668
triadic
#72168A #8A7216 #168A72
tetradic
#72168A #8A3816 #2E8A16 #16688A
square
#72168A #8A3816 #2E8A16 #16688A
split-complementary
#72168A #688A16 #168A38
monochromatic
#1B0520 #460E55 #72168A #9E1EBF #BE3BE0

Accessibility & contrast

On white

9.56
#72168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#72168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72168A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72168A#FFFFFF#000000##FFFFFF
##72168A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#713252
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #72168a;
/* rgb */ color: rgb(114, 22, 138);
/* oklch */ color: oklch(41.5% 0.183 317.8);
Tailwind
colors: {
  custom: {
    50: '#9f61ad',
    500: '#72168a',
    950: '#000000',
  },
}
SCSS
$custom: #72168a;
$custom-light: #9f61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72168a",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 287.586,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.1827,
    "h": 317.8
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#72168A
secondary
#58BE3E
accent
#EF395E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72168A

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

Preview Lab → · Contrast checker → · Palette generator →

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