#72118E#72118E

#72118E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.5% C 0.190 H 316.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#72118E
RGBrgb(114, 17, 142)
HSLhsl(287, 79%, 31%)
HSVhsv(287, 88%, 56%)
CMYKcmyk(19.7%, 88%, 0%, 44.3%)
CIE-LABlab(29.24, 55.98, -46.24)
CIE-LCHlch(29.24, 72.61, 320.45°)
OKLaboklab(41.54% 0.1379 -0.1305)
OKLCHoklch(41.54% 0.19 316.6)
XYZxyz(12.0216, 5.9318, 26.0977)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72118E #2D8E11
analogous
#33118E #72118E #8E116B
triadic
#72118E #8E7211 #118E72
tetradic
#72118E #8E3311 #2D8E11 #116B8E
square
#72118E #8E3311 #2D8E11 #116B8E
split-complementary
#72118E #6B8E11 #118E33
monochromatic
#1A0421 #460A57 #72118E #9E18C5 #BE33E7

Accessibility & contrast

On white

9.61
#72118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#72118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72118E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72118E#FFFFFF#000000##FFFFFF
##72118E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#0F478C
Tritanopia (blue-blind)
#703253
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #72118e;
/* rgb */ color: rgb(114, 17, 142);
/* oklch */ color: oklch(41.5% 0.190 316.6);
Tailwind
colors: {
  custom: {
    50: '#9f60b0',
    500: '#72118e',
    950: '#000000',
  },
}
SCSS
$custom: #72118e;
$custom-light: #9f60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72118e",
  "rgb": {
    "r": 114,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 286.56,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.18986,
    "h": 316.6
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#72118E
secondary
#57C238
accent
#F5335E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #72118E

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

Preview Lab → · Contrast checker → · Palette generator →

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