#811873#811873

#811873 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 334.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#811873
RGBrgb(129, 24, 115)
HSLhsl(308, 69%, 30%)
HSVhsv(308, 81%, 51%)
CMYKcmyk(0%, 81.4%, 10.9%, 49.4%)
CIE-LABlab(30.78, 52.45, -26.67)
CIE-LCHlch(30.78, 58.84, 333.05°)
OKLaboklab(42.58% 0.1527 -0.0731)
OKLCHoklch(42.58% 0.169 334.4)
XYZxyz(12.4746, 6.5593, 16.8254)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811873 #188126
analogous
#5A1881 #811873 #81183F
triadic
#811873 #738118 #187381
tetradic
#811873 #815A18 #188126 #183F81
square
#811873 #815A18 #188126 #183F81
split-complementary
#811873 #3F8118 #18815A
monochromatic
#1A0517 #4D0E45 #811873 #B522A1 #DA39C5

Accessibility & contrast

On white

9.08
#811873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#811873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811873
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811873#FFFFFF#000000##FFFFFF
##8118731.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#882345
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811873;
/* rgb */ color: rgb(129, 24, 115);
/* oklch */ color: oklch(42.6% 0.169 334.4);
Tailwind
colors: {
  custom: {
    50: '#a9639b',
    500: '#811873',
    950: '#000000',
  },
}
SCSS
$custom: #811873;
$custom-light: #a9639b;
$custom-dark: #000000;
JSON
{
  "hex": "#811873",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 308,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.1693,
    "h": 334.4
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#811873
secondary
#40B54F
accent
#EB543C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811873

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

Preview Lab → · Contrast checker → · Palette generator →

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