#811D8A#811D8A

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

Color values

HEX#811D8A
RGBrgb(129, 29, 138)
HSLhsl(295, 65%, 33%)
HSVhsv(295, 79%, 54%)
CMYKcmyk(6.5%, 79%, 0%, 45.9%)
CIE-LABlab(32.66, 54.81, -38.12)
CIE-LCHlch(32.66, 66.77, 325.19°)
OKLaboklab(44.36% 0.1481 -0.1063)
OKLCHoklch(44.36% 0.182 324.3)
XYZxyz(14.0797, 7.3817, 24.7231)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D8A #268A1D
analogous
#4B1D8A #811D8A #8A1D5C
triadic
#811D8A #8A811D #1D8A81
tetradic
#811D8A #8A4B1D #268A1D #1D5C8A
square
#811D8A #8A4B1D #268A1D #1D5C8A
split-complementary
#811D8A #5C8A1D #1D8A4B
monochromatic
#220825 #521257 #811D8A #B028BD #CD49D9

Accessibility & contrast

On white

8.48
#811D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811D8A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D8A#FFFFFF#000000##FFFFFF
##811D8A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#335187
Tritanopia (blue-blind)
#843253
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811d8a;
/* rgb */ color: rgb(129, 29, 138);
/* oklch */ color: oklch(44.4% 0.182 324.3);
Tailwind
colors: {
  custom: {
    50: '#a966ad',
    500: '#811d8a',
    950: '#000000',
  },
}
SCSS
$custom: #811d8a;
$custom-light: #a966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811d8a",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 295.046,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.18236,
    "h": 324.3
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#811D8A
secondary
#51BB48
accent
#E8404D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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