#811571#811571

#811571 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.171 H 335.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#811571
RGBrgb(129, 21, 113)
HSLhsl(309, 72%, 29%)
HSVhsv(309, 84%, 51%)
CMYKcmyk(0%, 83.7%, 12.4%, 49.4%)
CIE-LABlab(30.39, 52.95, -26.00)
CIE-LCHlch(30.39, 58.99, 333.85°)
OKLaboklab(42.27% 0.155 -0.0711)
OKLCHoklch(42.27% 0.171 335.3)
XYZxyz(12.3023, 6.3969, 16.2064)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811571 #158125
analogous
#5B1581 #811571 #81153B
triadic
#811571 #718115 #157181
tetradic
#811571 #815B15 #158125 #153B81
square
#811571 #815B15 #158125 #153B81
split-complementary
#811571 #3B8115 #15815B
monochromatic
#1A0417 #4C0C43 #811571 #B61E9F #DE33C4

Accessibility & contrast

On white

9.21
#811571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#811571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811571
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811571#FFFFFF#000000##FFFFFF
##8115711.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E73
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#882043
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811571;
/* rgb */ color: rgb(129, 21, 113);
/* oklch */ color: oklch(42.3% 0.171 335.3);
Tailwind
colors: {
  custom: {
    50: '#a9629a',
    500: '#811571',
    950: '#000000',
  },
}
SCSS
$custom: #811571;
$custom-light: #a9629a;
$custom-dark: #000000;
JSON
{
  "hex": "#811571",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 308.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.17057,
    "h": 335.3
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#811571
secondary
#3CB64E
accent
#EF5439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811571

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

Preview Lab → · Contrast checker → · Palette generator →

#811571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva