#811D8B#811D8B

#811D8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 323.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#811D8B
RGBrgb(129, 29, 139)
HSLhsl(295, 65%, 33%)
HSVhsv(295, 79%, 55%)
CMYKcmyk(7.2%, 79.1%, 0%, 45.5%)
CIE-LABlab(32.72, 54.99, -38.63)
CIE-LCHlch(32.72, 67.21, 324.91°)
OKLaboklab(44.43% 0.1481 -0.1079)
OKLCHoklch(44.43% 0.183 323.9)
XYZxyz(14.1524, 7.4108, 25.1061)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D8B #278B1D
analogous
#4A1D8B #811D8B #8B1D5E
triadic
#811D8B #8B811D #1D8B81
tetradic
#811D8B #8B4A1D #278B1D #1D5E8B
square
#811D8B #8B4A1D #278B1D #1D5E8B
split-complementary
#811D8B #5E8B1D #1D8B4A
monochromatic
#230826 #521258 #811D8B #B028BE #CC49D9

Accessibility & contrast

On white

8.46
#811D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#811D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D8B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D8B#FFFFFF#000000##FFFFFF
##811D8B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#833254
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811d8b;
/* rgb */ color: rgb(129, 29, 139);
/* oklch */ color: oklch(44.4% 0.183 323.9);
Tailwind
colors: {
  custom: {
    50: '#a966ad',
    500: '#811d8b',
    950: '#000000',
  },
}
SCSS
$custom: #811d8b;
$custom-light: #a966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811d8b",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 294.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.18318,
    "h": 323.9
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#811D8B
secondary
#53BB49
accent
#E83F4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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