#72167E#72167E

#72167E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.173 H 322.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#72167E
RGBrgb(114, 22, 126)
HSLhsl(293, 70%, 29%)
HSVhsv(293, 83%, 49%)
CMYKcmyk(9.5%, 82.5%, 0%, 50.6%)
CIE-LABlab(28.53, 51.65, -37.38)
CIE-LCHlch(28.53, 63.75, 324.11°)
OKLaboklab(40.68% 0.1373 -0.1046)
OKLCHoklch(40.68% 0.173 322.7)
XYZxyz(10.9919, 5.6583, 20.2478)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72167E #227E16
analogous
#3E167E #72167E #7E1656
triadic
#72167E #7E7216 #167E72
tetradic
#72167E #7E3E16 #227E16 #16567E
square
#72167E #7E3E16 #227E16 #16567E
split-complementary
#72167E #567E16 #167E3E
monochromatic
#18051A #430D4A #72167E #A11FB2 #C833DB

Accessibility & contrast

On white

9.85
#72167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#72167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72167E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72167E#FFFFFF#000000##FFFFFF
##72167E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#742C4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72167e;
/* rgb */ color: rgb(114, 22, 126);
/* oklch */ color: oklch(40.7% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#9e60a4',
    500: '#72167e',
    950: '#000000',
  },
}
SCSS
$custom: #72167e;
$custom-light: #9e60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72167e",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 293.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.17257,
    "h": 322.7
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#72167E
secondary
#4BB33D
accent
#ED3B4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72167E

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

Preview Lab → · Contrast checker → · Palette generator →

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