#811872#811872

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

Color values

HEX#811872
RGBrgb(129, 24, 114)
HSLhsl(309, 69%, 30%)
HSVhsv(309, 81%, 51%)
CMYKcmyk(0%, 81.4%, 11.6%, 49.4%)
CIE-LABlab(30.73, 52.30, -26.12)
CIE-LCHlch(30.73, 58.45, 333.46°)
OKLaboklab(42.53% 0.1527 -0.0715)
OKLCHoklch(42.53% 0.169 334.9)
XYZxyz(12.4173, 6.5364, 16.5240)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811872 #188127
analogous
#5B1881 #811872 #81183E
triadic
#811872 #728118 #187281
tetradic
#811872 #815B18 #188127 #183E81
square
#811872 #815B18 #188127 #183E81
split-complementary
#811872 #3E8118 #18815B
monochromatic
#1A0517 #4D0E44 #811872 #B522A0 #DA39C3

Accessibility & contrast

On white

9.10
#811872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811872
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811872#FFFFFF#000000##FFFFFF
##8118721.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#3F4E70
Tritanopia (blue-blind)
#882244
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811872;
/* rgb */ color: rgb(129, 24, 114);
/* oklch */ color: oklch(42.5% 0.169 334.9);
Tailwind
colors: {
  custom: {
    50: '#a9639b',
    500: '#811872',
    950: '#000000',
  },
}
SCSS
$custom: #811872;
$custom-light: #a9639b;
$custom-dark: #000000;
JSON
{
  "hex": "#811872",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 308.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42526,
    "c": 0.16858,
    "h": 334.9
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#811872
secondary
#40B550
accent
#EB553C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811872

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

Preview Lab → · Contrast checker → · Palette generator →

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