#811879#811879

#811879 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.174 H 331.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#811879
RGBrgb(129, 24, 121)
HSLhsl(305, 69%, 30%)
HSVhsv(305, 81%, 51%)
CMYKcmyk(0%, 81.4%, 6.2%, 49.4%)
CIE-LABlab(31.12, 53.40, -29.94)
CIE-LCHlch(31.12, 61.22, 330.72°)
OKLaboklab(42.93% 0.1529 -0.0825)
OKLCHoklch(42.93% 0.174 331.6)
XYZxyz(12.8311, 6.7019, 18.7033)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811879 #188120
analogous
#541881 #811879 #811845
triadic
#811879 #798118 #187981
tetradic
#811879 #815418 #188120 #184581
square
#811879 #815418 #188120 #184581
split-complementary
#811879 #458118 #188154
monochromatic
#1A0518 #4D0E49 #811879 #B522A9 #DA39CE

Accessibility & contrast

On white

8.97
#811879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#811879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811879
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811879#FFFFFF#000000##FFFFFF
##8118791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407C
Deuteranopia (green-blind)
#3C4E77
Tritanopia (blue-blind)
#872648
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811879;
/* rgb */ color: rgb(129, 24, 121);
/* oklch */ color: oklch(42.9% 0.174 331.6);
Tailwind
colors: {
  custom: {
    50: '#a963a0',
    500: '#811879',
    950: '#000000',
  },
}
SCSS
$custom: #811879;
$custom-light: #a963a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811879",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 304.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.17375,
    "h": 331.6
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#811879
secondary
#40B549
accent
#EB4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811879

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

Preview Lab → · Contrast checker → · Palette generator →

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