#811D7D#811D7D

#811D7D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.172 H 329.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#811D7D
RGBrgb(129, 29, 125)
HSLhsl(302, 63%, 31%)
HSVhsv(302, 78%, 51%)
CMYKcmyk(0%, 77.5%, 3.1%, 49.4%)
CIE-LABlab(31.87, 52.56, -31.27)
CIE-LCHlch(31.87, 61.16, 329.25°)
OKLaboklab(43.54% 0.1486 -0.0864)
OKLCHoklch(43.54% 0.172 329.8)
XYZxyz(13.1942, 7.0276, 20.0596)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D7D #1D8121
analogous
#531D81 #811D7D #811D4B
triadic
#811D7D #7D811D #1D7D81
tetradic
#811D7D #81531D #1D8121 #1D4B81
square
#811D7D #81531D #1D8121 #1D4B81
split-complementary
#811D7D #4B811D #1D8153
monochromatic
#1D071C #4F124D #811D7D #B328AD #D544CF

Accessibility & contrast

On white

8.73
#811D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#811D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D7D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D7D#FFFFFF#000000##FFFFFF
##811D7D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4280
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#862B4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811d7d;
/* rgb */ color: rgb(129, 29, 125);
/* oklch */ color: oklch(43.5% 0.172 329.8);
Tailwind
colors: {
  custom: {
    50: '#a965a3',
    500: '#811d7d',
    950: '#000000',
  },
}
SCSS
$custom: #811d7d;
$custom-light: #a965a3;
$custom-dark: #000000;
JSON
{
  "hex": "#811d7d",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 302.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.17191,
    "h": 329.8
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#811D7D
secondary
#46B44A
accent
#E64841
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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