#811B71#811B71

#811B71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.165 H 335.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#811B71
RGBrgb(129, 27, 113)
HSLhsl(309, 65%, 31%)
HSVhsv(309, 79%, 51%)
CMYKcmyk(0%, 79.1%, 12.4%, 49.4%)
CIE-LABlab(30.98, 51.25, -25.08)
CIE-LCHlch(30.98, 57.06, 333.93°)
OKLaboklab(42.69% 0.15 -0.0685)
OKLCHoklch(42.69% 0.165 335.4)
XYZxyz(12.4260, 6.6444, 16.2476)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B71 #1B812B
analogous
#5E1B81 #811B71 #811B3E
triadic
#811B71 #71811B #1B7181
tetradic
#811B71 #815E1B #1B812B #1B3E81
square
#811B71 #815E1B #1B812B #1B3E81
split-complementary
#811B71 #3E811B #1B815E
monochromatic
#1C0618 #4E1045 #811B71 #B4269D #D73FBF

Accessibility & contrast

On white

9.02
#811B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#811B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B71
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B71#FFFFFF#000000##FFFFFF
##811B711.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811b71;
/* rgb */ color: rgb(129, 27, 113);
/* oklch */ color: oklch(42.7% 0.165 335.4);
Tailwind
colors: {
  custom: {
    50: '#a9649a',
    500: '#811b71',
    950: '#000000',
  },
}
SCSS
$custom: #811b71;
$custom-light: #a9649a;
$custom-dark: #000000;
JSON
{
  "hex": "#811b71",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 309.412,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.16488,
    "h": 335.4
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#811B71
secondary
#43B555
accent
#E85A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811B71

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

Preview Lab → · Contrast checker → · Palette generator →

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