#72117E#72117E

#72117E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 322.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#72117E
RGBrgb(114, 17, 126)
HSLhsl(293, 76%, 28%)
HSVhsv(293, 87%, 49%)
CMYKcmyk(9.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(28.07, 52.98, -38.11)
CIE-LCHlch(28.07, 65.27, 324.27°)
OKLaboklab(40.36% 0.1409 -0.1067)
OKLCHoklch(40.36% 0.177 322.9)
XYZxyz(10.9054, 5.4853, 20.2190)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72117E #1D7E11
analogous
#3B117E #72117E #7E1154
triadic
#72117E #7E7211 #117E72
tetradic
#72117E #7E3B11 #1D7E11 #11547E
square
#72117E #7E3B11 #1D7E11 #11547E
split-complementary
#72117E #547E11 #117E3B
monochromatic
#18041B #410A48 #72117E #A318B4 #CD27E2

Accessibility & contrast

On white

10.01
#72117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#72117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72117E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72117E#FFFFFF#000000##FFFFFF
##72117E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#742A4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #72117e;
/* rgb */ color: rgb(114, 17, 126);
/* oklch */ color: oklch(40.4% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#9e5fa4',
    500: '#72117e',
    950: '#000000',
  },
}
SCSS
$custom: #72117e;
$custom-light: #9e5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#72117e",
  "rgb": {
    "r": 114,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 293.394,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.17673,
    "h": 322.9
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#72117E
secondary
#45B437
accent
#F3354A
background
#FAF5FA
surface
#F4EAF4
border
#CEC6CE
text
#0F050F
muted
#7F797F

Preview Lab

Preview with #72117E

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

Preview Lab → · Contrast checker → · Palette generator →

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