#72168F#72168F

#72168F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.187 H 316.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#72168F
RGBrgb(114, 22, 143)
HSLhsl(286, 73%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(20.3%, 84.6%, 0%, 43.9%)
CIE-LABlab(29.75, 54.91, -46.03)
CIE-LCHlch(29.75, 71.65, 320.03°)
OKLaboklab(41.92% 0.1344 -0.13)
OKLCHoklch(41.92% 0.187 316)
XYZxyz(12.1835, 6.1349, 26.5237)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72168F #338F16
analogous
#36168F #72168F #8F166F
triadic
#72168F #8F7216 #168F72
tetradic
#72168F #8F3616 #338F16 #166F8F
square
#72168F #8F3616 #338F16 #166F8F
split-complementary
#72168F #6F8F16 #168F36
monochromatic
#1D0625 #480E5A #72168F #9C1EC4 #BA3EE1

Accessibility & contrast

On white

9.43
#72168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#72168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72168F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72168F#FFFFFF#000000##FFFFFF
##72168F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#12488D
Tritanopia (blue-blind)
#703455
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72168f;
/* rgb */ color: rgb(114, 22, 143);
/* oklch */ color: oklch(41.9% 0.187 316.0);
Tailwind
colors: {
  custom: {
    50: '#9f61b0',
    500: '#72168f',
    950: '#000000',
  },
}
SCSS
$custom: #72168f;
$custom-light: #9f61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72168f",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 285.62,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.18698,
    "h": 316
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#72168F
secondary
#5FC13F
accent
#F03864
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72168F

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

Preview Lab → · Contrast checker → · Palette generator →

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