#811D7A#811D7A

#811D7A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 331.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#811D7A
RGBrgb(129, 29, 122)
HSLhsl(304, 63%, 31%)
HSVhsv(304, 78%, 51%)
CMYKcmyk(0%, 77.5%, 5.4%, 49.4%)
CIE-LABlab(31.70, 52.06, -29.65)
CIE-LCHlch(31.70, 59.91, 330.33°)
OKLaboklab(43.36% 0.1486 -0.0817)
OKLCHoklch(43.36% 0.17 331.2)
XYZxyz(13.0055, 6.9521, 19.0655)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D7A #1D8124
analogous
#561D81 #811D7A #811D48
triadic
#811D7A #7A811D #1D7A81
tetradic
#811D7A #81561D #1D8124 #1D4881
square
#811D7A #81561D #1D8124 #1D4881
split-complementary
#811D7A #48811D #1D8156
monochromatic
#1D071B #4F124B #811D7A #B328A9 #D544CB

Accessibility & contrast

On white

8.79
#811D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#811D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D7A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D7A#FFFFFF#000000##FFFFFF
##811D7A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#862A4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811d7a;
/* rgb */ color: rgb(129, 29, 122);
/* oklch */ color: oklch(43.4% 0.170 331.2);
Tailwind
colors: {
  custom: {
    50: '#a965a1',
    500: '#811d7a',
    950: '#000000',
  },
}
SCSS
$custom: #811d7a;
$custom-light: #a965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811d7a",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 304.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.16956,
    "h": 331.2
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#811D7A
secondary
#46B44D
accent
#E64D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811D7A

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

Preview Lab → · Contrast checker → · Palette generator →

#811D7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva