#81157D#81157D

#81157D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.179 H 329.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#81157D
RGBrgb(129, 21, 125)
HSLhsl(302, 72%, 29%)
HSVhsv(302, 84%, 51%)
CMYKcmyk(0%, 83.7%, 3.1%, 49.4%)
CIE-LABlab(31.08, 54.84, -32.52)
CIE-LCHlch(31.08, 63.76, 329.33°)
OKLaboklab(42.98% 0.1552 -0.09)
OKLCHoklch(42.98% 0.179 329.9)
XYZxyz(13.0230, 6.6852, 20.0025)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81157D #158119
analogous
#4F1581 #81157D #811547
triadic
#81157D #7D8115 #157D81
tetradic
#81157D #814F15 #158119 #154781
square
#81157D #814F15 #158119 #154781
split-complementary
#81157D #478115 #15814F
monochromatic
#1A041A #4C0C4A #81157D #B61EB0 #DE33D7

Accessibility & contrast

On white

8.99
#81157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#81157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81157D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81157D#FFFFFF#000000##FFFFFF
##81157D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#86274A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81157d;
/* rgb */ color: rgb(129, 21, 125);
/* oklch */ color: oklch(43.0% 0.179 329.9);
Tailwind
colors: {
  custom: {
    50: '#a962a3',
    500: '#81157d',
    950: '#000000',
  },
}
SCSS
$custom: #81157d;
$custom-light: #a962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81157d",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 302.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.17936,
    "h": 329.9
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#81157D
secondary
#3CB640
accent
#EF4039
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81157D

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

Preview Lab → · Contrast checker → · Palette generator →

#81157D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva