#811B77#811B77

#811B77 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 332.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#811B77
RGBrgb(129, 27, 119)
HSLhsl(306, 65%, 31%)
HSVhsv(306, 79%, 51%)
CMYKcmyk(0%, 79.1%, 7.8%, 49.4%)
CIE-LABlab(31.31, 52.20, -28.37)
CIE-LCHlch(31.31, 59.41, 331.47°)
OKLaboklab(43.03% 0.1503 -0.078)
OKLCHoklch(43.03% 0.169 332.6)
XYZxyz(12.7750, 6.7840, 18.0858)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B77 #1B8125
analogous
#581B81 #811B77 #811B44
triadic
#811B77 #77811B #1B7781
tetradic
#811B77 #81581B #1B8125 #1B4481
square
#811B77 #81581B #1B8125 #1B4481
split-complementary
#811B77 #44811B #1B8158
monochromatic
#1C061A #4E1048 #811B77 #B426A6 #D73FC8

Accessibility & contrast

On white

8.91
#811B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#811B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B77
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B77#FFFFFF#000000##FFFFFF
##811B771.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#872748
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811b77;
/* rgb */ color: rgb(129, 27, 119);
/* oklch */ color: oklch(43.0% 0.169 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9649e',
    500: '#811b77',
    950: '#000000',
  },
}
SCSS
$custom: #811b77;
$custom-light: #a9649e;
$custom-dark: #000000;
JSON
{
  "hex": "#811b77",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 305.882,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.16934,
    "h": 332.6
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#811B77
secondary
#43B54E
accent
#E8503F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811B77

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

Preview Lab → · Contrast checker → · Palette generator →

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