#811B72#811B72

#811B72 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.166 H 335.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#811B72
RGBrgb(129, 27, 114)
HSLhsl(309, 65%, 31%)
HSVhsv(309, 79%, 51%)
CMYKcmyk(0%, 79.1%, 11.6%, 49.4%)
CIE-LABlab(31.04, 51.41, -25.63)
CIE-LCHlch(31.04, 57.44, 333.50°)
OKLaboklab(42.75% 0.15 -0.0701)
OKLCHoklch(42.75% 0.166 335)
XYZxyz(12.4826, 6.6670, 16.5458)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B72 #1B812A
analogous
#5D1B81 #811B72 #811B3F
triadic
#811B72 #72811B #1B7281
tetradic
#811B72 #815D1B #1B812A #1B3F81
square
#811B72 #815D1B #1B812A #1B3F81
split-complementary
#811B72 #3F811B #1B815D
monochromatic
#1C0619 #4E1045 #811B72 #B4269F #D73FC1

Accessibility & contrast

On white

9.00
#811B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811B72
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B72#FFFFFF#000000##FFFFFF
##811B721.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#882445
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811b72;
/* rgb */ color: rgb(129, 27, 114);
/* oklch */ color: oklch(42.7% 0.166 335.0);
Tailwind
colors: {
  custom: {
    50: '#a9649b',
    500: '#811b72',
    950: '#000000',
  },
}
SCSS
$custom: #811b72;
$custom-light: #a9649b;
$custom-dark: #000000;
JSON
{
  "hex": "#811b72",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 308.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.16561,
    "h": 335
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#811B72
secondary
#43B554
accent
#E8583F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811B72

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

Preview Lab → · Contrast checker → · Palette generator →

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