#811B8D#811B8D

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

Color values

HEX#811B8D
RGBrgb(129, 27, 141)
HSLhsl(294, 68%, 33%)
HSVhsv(294, 81%, 55%)
CMYKcmyk(8.5%, 80.9%, 0%, 44.7%)
CIE-LABlab(32.65, 55.96, -40.00)
CIE-LCHlch(32.65, 68.78, 324.44°)
OKLaboklab(44.41% 0.1495 -0.1118)
OKLCHoklch(44.41% 0.187 323.2)
XYZxyz(14.2525, 7.3750, 25.8669)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B8D #278D1B
analogous
#481B8D #811B8D #8D1B60
triadic
#811B8D #8D811B #1B8D81
tetradic
#811B8D #8D481B #278D1B #1B608D
square
#811B8D #8D481B #278D1B #1B608D
split-complementary
#811B8D #608D1B #1B8D48
monochromatic
#230726 #52115A #811B8D #B025C0 #CC47DC

Accessibility & contrast

On white

8.49
#811B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#811B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B8D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B8D#FFFFFF#000000##FFFFFF
##811B8D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#30518A
Tritanopia (blue-blind)
#833254
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811b8d;
/* rgb */ color: rgb(129, 27, 141);
/* oklch */ color: oklch(44.4% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#a965af',
    500: '#811b8d',
    950: '#000000',
  },
}
SCSS
$custom: #811b8d;
$custom-light: #a965af;
$custom-dark: #000000;
JSON
{
  "hex": "#811b8d",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 293.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.18671,
    "h": 323.2
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#811B8D
secondary
#53BD46
accent
#EB3D4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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