#72158E#72158E

#72158E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 316.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#72158E
RGBrgb(114, 21, 142)
HSLhsl(286, 74%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(19.7%, 85.2%, 0%, 44.3%)
CIE-LABlab(29.58, 54.98, -45.68)
CIE-LCHlch(29.58, 71.48, 320.28°)
OKLaboklab(41.78% 0.1353 -0.1289)
OKLCHoklch(41.78% 0.187 316.4)
XYZxyz(12.0893, 6.0672, 26.1202)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72158E #318E15
analogous
#36158E #72158E #8E156E
triadic
#72158E #8E7215 #158E72
tetradic
#72158E #8E3615 #318E15 #156E8E
square
#72158E #8E3615 #318E15 #156E8E
split-complementary
#72158E #6E8E15 #158E36
monochromatic
#1C0523 #470D59 #72158E #9D1DC3 #BB3BE2

Accessibility & contrast

On white

9.49
#72158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#72158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72158E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72158E#FFFFFF#000000##FFFFFF
##72158E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#703354
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72158e;
/* rgb */ color: rgb(114, 21, 142);
/* oklch */ color: oklch(41.8% 0.187 316.4);
Tailwind
colors: {
  custom: {
    50: '#9f61b0',
    500: '#72158e',
    950: '#000000',
  },
}
SCSS
$custom: #72158e;
$custom-light: #9f61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72158e",
  "rgb": {
    "r": 114,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 286.116,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.18692,
    "h": 316.4
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#72158E
secondary
#5CC23D
accent
#F13762
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72158E

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

Preview Lab → · Contrast checker → · Palette generator →

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