#811B79#811B79

#811B79 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.171 H 331.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#811B79
RGBrgb(129, 27, 121)
HSLhsl(305, 65%, 31%)
HSVhsv(305, 79%, 51%)
CMYKcmyk(0%, 79.1%, 6.2%, 49.4%)
CIE-LABlab(31.42, 52.52, -29.46)
CIE-LCHlch(31.42, 60.22, 330.71°)
OKLaboklab(43.15% 0.1504 -0.0811)
OKLCHoklch(43.15% 0.171 331.6)
XYZxyz(12.8964, 6.8325, 18.7250)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B79 #1B8123
analogous
#561B81 #811B79 #811B46
triadic
#811B79 #79811B #1B7981
tetradic
#811B79 #81561B #1B8123 #1B4681
square
#811B79 #81561B #1B8123 #1B4681
split-complementary
#811B79 #46811B #1B8156
monochromatic
#1C061A #4E104A #811B79 #B426A8 #D73FCB

Accessibility & contrast

On white

8.87
#811B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#811B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B79
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B79#FFFFFF#000000##FFFFFF
##811B791.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#872849
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811b79;
/* rgb */ color: rgb(129, 27, 121);
/* oklch */ color: oklch(43.1% 0.171 331.6);
Tailwind
colors: {
  custom: {
    50: '#a964a0',
    500: '#811b79',
    950: '#000000',
  },
}
SCSS
$custom: #811b79;
$custom-light: #a964a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811b79",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 304.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.17086,
    "h": 331.6
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#811B79
secondary
#43B54C
accent
#E84D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811B79

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

Preview Lab → · Contrast checker → · Palette generator →

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