#811871#811871

#811871 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.168 H 335.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#811871
RGBrgb(129, 24, 113)
HSLhsl(309, 69%, 30%)
HSVhsv(309, 81%, 51%)
CMYKcmyk(0%, 81.4%, 12.4%, 49.4%)
CIE-LABlab(30.67, 52.14, -25.56)
CIE-LCHlch(30.67, 58.07, 333.88°)
OKLaboklab(42.47% 0.1526 -0.0699)
OKLCHoklch(42.47% 0.168 335.4)
XYZxyz(12.3607, 6.5138, 16.2259)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811871 #188128
analogous
#5D1881 #811871 #81183C
triadic
#811871 #718118 #187181
tetradic
#811871 #815D18 #188128 #183C81
square
#811871 #815D18 #188128 #183C81
split-complementary
#811871 #3C8118 #18815D
monochromatic
#1A0517 #4D0E44 #811871 #B5229E #DA39C2

Accessibility & contrast

On white

9.12
#811871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#811871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811871
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811871#FFFFFF#000000##FFFFFF
##8118711.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#882244
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811871;
/* rgb */ color: rgb(129, 24, 113);
/* oklch */ color: oklch(42.5% 0.168 335.4);
Tailwind
colors: {
  custom: {
    50: '#a9639a',
    500: '#811871',
    950: '#000000',
  },
}
SCSS
$custom: #811871;
$custom-light: #a9639a;
$custom-dark: #000000;
JSON
{
  "hex": "#811871",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 309.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.16786,
    "h": 335.4
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#811871
secondary
#40B552
accent
#EB573C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811871

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

Preview Lab → · Contrast checker → · Palette generator →

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