#811D7B#811D7B

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

Color values

HEX#811D7B
RGBrgb(129, 29, 123)
HSLhsl(304, 63%, 31%)
HSVhsv(304, 78%, 51%)
CMYKcmyk(0%, 77.5%, 4.7%, 49.4%)
CIE-LABlab(31.75, 52.22, -30.19)
CIE-LCHlch(31.75, 60.32, 329.97°)
OKLaboklab(43.42% 0.1486 -0.0833)
OKLCHoklch(43.42% 0.17 330.7)
XYZxyz(13.0677, 6.9770, 19.3935)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D7B #1D8123
analogous
#551D81 #811D7B #811D49
triadic
#811D7B #7B811D #1D7B81
tetradic
#811D7B #81551D #1D8123 #1D4981
square
#811D7B #81551D #1D8123 #1D4981
split-complementary
#811D7B #49811D #1D8155
monochromatic
#1D071C #4F124B #811D7B #B328AB #D544CC

Accessibility & contrast

On white

8.77
#811D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#811D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D7B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D7B#FFFFFF#000000##FFFFFF
##811D7B1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#3D4F79
Tritanopia (blue-blind)
#862A4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811d7b;
/* rgb */ color: rgb(129, 29, 123);
/* oklch */ color: oklch(43.4% 0.170 330.7);
Tailwind
colors: {
  custom: {
    50: '#a965a1',
    500: '#811d7b',
    950: '#000000',
  },
}
SCSS
$custom: #811d7b;
$custom-light: #a965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811d7b",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 303.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.17034,
    "h": 330.7
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#811D7B
secondary
#46B44C
accent
#E64B41
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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