#811E71#811E71

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

Color values

HEX#811E71
RGBrgb(129, 30, 113)
HSLhsl(310, 62%, 31%)
HSVhsv(310, 77%, 51%)
CMYKcmyk(0%, 76.7%, 12.4%, 49.4%)
CIE-LABlab(31.32, 50.28, -24.54)
CIE-LCHlch(31.32, 55.95, 333.98°)
OKLaboklab(42.94% 0.1471 -0.067)
OKLCHoklch(42.94% 0.162 335.5)
XYZxyz(12.4983, 6.7891, 16.2718)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E71 #1E812E
analogous
#5F1E81 #811E71 #811E3F
triadic
#811E71 #71811E #1E7181
tetradic
#811E71 #815F1E #1E812E #1E3F81
square
#811E71 #815F1E #1E812E #1E3F81
split-complementary
#811E71 #3F811E #1E815F
monochromatic
#1E071A #4F1246 #811E71 #B32A9C #D446BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##811E71#FFFFFF#000000##FFFFFF
##811E711.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)
#1E4073
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#882645
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811e71;
/* rgb */ color: rgb(129, 30, 113);
/* oklch */ color: oklch(42.9% 0.162 335.5);
Tailwind
colors: {
  custom: {
    50: '#a9659a',
    500: '#811e71',
    950: '#000000',
  },
}
SCSS
$custom: #811e71;
$custom-light: #a9659a;
$custom-dark: #000000;
JSON
{
  "hex": "#811e71",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 309.697,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42935,
    "c": 0.16165,
    "h": 335.5
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#811E71
secondary
#47B458
accent
#E55D42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811E71

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

Preview Lab → · Contrast checker → · Palette generator →

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