#72158F#72158F

#72158F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.188 H 316.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#72158F
RGBrgb(114, 21, 143)
HSLhsl(286, 74%, 32%)
HSVhsv(286, 85%, 56%)
CMYKcmyk(20.3%, 85.3%, 0%, 43.9%)
CIE-LABlab(29.66, 55.18, -46.18)
CIE-LCHlch(29.66, 71.95, 320.07°)
OKLaboklab(41.86% 0.1351 -0.1304)
OKLCHoklch(41.86% 0.188 316)
XYZxyz(12.1647, 6.0974, 26.5174)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72158F #328F15
analogous
#35158F #72158F #8F156F
triadic
#72158F #8F7215 #158F72
tetradic
#72158F #8F3515 #328F15 #156F8F
square
#72158F #8F3515 #328F15 #156F8F
split-complementary
#72158F #6F8F15 #158F35
monochromatic
#1D0524 #470D5A #72158F #9D1DC4 #BB3CE2

Accessibility & contrast

On white

9.46
#72158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#72158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72158F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72158F#FFFFFF#000000##FFFFFF
##72158F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#11488D
Tritanopia (blue-blind)
#703454
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #72158f;
/* rgb */ color: rgb(114, 21, 143);
/* oklch */ color: oklch(41.9% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#9f61b1',
    500: '#72158f',
    950: '#000000',
  },
}
SCSS
$custom: #72158f;
$custom-light: #9f61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#72158f",
  "rgb": {
    "r": 114,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 285.738,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.18778,
    "h": 316
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#72158F
secondary
#5DC23E
accent
#F13763
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #72158F

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

Preview Lab → · Contrast checker → · Palette generator →

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