#811C71#811C71

#811C71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.164 H 335.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#811C71
RGBrgb(129, 28, 113)
HSLhsl(310, 64%, 31%)
HSVhsv(310, 78%, 51%)
CMYKcmyk(0%, 78.3%, 12.4%, 49.4%)
CIE-LABlab(31.09, 50.94, -24.90)
CIE-LCHlch(31.09, 56.70, 333.95°)
OKLaboklab(42.77% 0.149 -0.068)
OKLCHoklch(42.77% 0.164 335.5)
XYZxyz(12.4493, 6.6910, 16.2554)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C71 #1C812C
analogous
#5E1C81 #811C71 #811C3E
triadic
#811C71 #71811C #1C7181
tetradic
#811C71 #815E1C #1C812C #1C3E81
square
#811C71 #815E1C #1C812C #1C3E81
split-complementary
#811C71 #3E811C #1C815E
monochromatic
#1C0619 #4F1145 #811C71 #B3279D #D642BE

Accessibility & contrast

On white

8.98
#811C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#811C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C71
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C71#FFFFFF#000000##FFFFFF
##811C711.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4073
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#882445
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811c71;
/* rgb */ color: rgb(129, 28, 113);
/* oklch */ color: oklch(42.8% 0.164 335.5);
Tailwind
colors: {
  custom: {
    50: '#a9649a',
    500: '#811c71',
    950: '#000000',
  },
}
SCSS
$custom: #811c71;
$custom-light: #a9649a;
$custom-dark: #000000;
JSON
{
  "hex": "#811c71",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 309.505,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.16382,
    "h": 335.5
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#811C71
secondary
#44B456
accent
#E75B40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811C71

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

Preview Lab → · Contrast checker → · Palette generator →

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