#72166B#72166B

#72166B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.157 H 331.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#72166B
RGBrgb(114, 22, 107)
HSLhsl(305, 68%, 27%)
HSVhsv(305, 81%, 45%)
CMYKcmyk(0%, 80.7%, 6.1%, 55.3%)
CIE-LABlab(27.33, 48.31, -27.17)
CIE-LCHlch(27.33, 55.42, 330.65°)
OKLaboklab(39.45% 0.1382 -0.0749)
OKLCHoklch(39.45% 0.157 331.6)
XYZxyz(9.8802, 5.2136, 14.3930)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72166B #16721D
analogous
#4B1672 #72166B #72163D
triadic
#72166B #6B7216 #166B72
tetradic
#72166B #724B16 #16721D #163D72
square
#72166B #724B16 #16721D #163D72
split-complementary
#72166B #3D7216 #16724B
monochromatic
#1A0518 #3F0C3B #72166B #A5209B #D62CC9

Accessibility & contrast

On white

10.28
#72166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#72166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72166B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72166B#FFFFFF#000000##FFFFFF
##72166B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386D
Deuteranopia (green-blind)
#354569
Tritanopia (blue-blind)
#772240
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #72166b;
/* rgb */ color: rgb(114, 22, 107);
/* oklch */ color: oklch(39.4% 0.157 331.6);
Tailwind
colors: {
  custom: {
    50: '#9e5f96',
    500: '#72166b',
    950: '#000000',
  },
}
SCSS
$custom: #72166b;
$custom-light: #9e5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#72166b",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 304.565,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.1572,
    "h": 331.6
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#72166B
secondary
#3CA844
accent
#EB4A3D
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72166B

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

Preview Lab → · Contrast checker → · Palette generator →

#72166B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva