#811B84#811B84

#811B84 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.179 H 326.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#811B84
RGBrgb(129, 27, 132)
HSLhsl(298, 66%, 31%)
HSVhsv(298, 80%, 52%)
CMYKcmyk(2.3%, 79.5%, 0%, 48.2%)
CIE-LABlab(32.07, 54.37, -35.33)
CIE-LCHlch(32.07, 64.84, 326.99°)
OKLaboklab(43.82% 0.1502 -0.0982)
OKLCHoklch(43.82% 0.179 326.8)
XYZxyz(13.6098, 7.1179, 22.4824)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B84 #1E841B
analogous
#4C1B84 #811B84 #841B52
triadic
#811B84 #84811B #1B8481
tetradic
#811B84 #844C1B #1E841B #1B5284
square
#811B84 #844C1B #1E841B #1B5284
split-complementary
#811B84 #52841B #1B844C
monochromatic
#1E061E #4F1151 #811B84 #B325B7 #D441D8

Accessibility & contrast

On white

8.67
#811B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B84
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B84#FFFFFF#000000##FFFFFF
##811B841.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#852E4F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811b84;
/* rgb */ color: rgb(129, 27, 132);
/* oklch */ color: oklch(43.8% 0.179 326.8);
Tailwind
colors: {
  custom: {
    50: '#a965a8',
    500: '#811b84',
    950: '#000000',
  },
}
SCSS
$custom: #811b84;
$custom-light: #a965a8;
$custom-dark: #000000;
JSON
{
  "hex": "#811b84",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 298.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.17945,
    "h": 326.8
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#811B84
secondary
#47B743
accent
#E93F44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811B84

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

Preview Lab → · Contrast checker → · Palette generator →

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