#811C79#811C79

#811C79 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.170 H 331.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#811C79
RGBrgb(129, 28, 121)
HSLhsl(305, 64%, 31%)
HSVhsv(305, 78%, 51%)
CMYKcmyk(0%, 78.3%, 6.2%, 49.4%)
CIE-LABlab(31.53, 52.21, -29.29)
CIE-LCHlch(31.53, 59.86, 330.71°)
OKLaboklab(43.23% 0.1495 -0.0807)
OKLCHoklch(43.23% 0.17 331.6)
XYZxyz(12.9197, 6.8792, 18.7328)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C79 #1C8124
analogous
#561C81 #811C79 #811C47
triadic
#811C79 #79811C #1C7981
tetradic
#811C79 #81561C #1C8124 #1C4781
square
#811C79 #81561C #1C8124 #1C4781
split-complementary
#811C79 #47811C #1C8156
monochromatic
#1C061B #4F114A #811C79 #B327A8 #D642CA

Accessibility & contrast

On white

8.84
#811C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#811C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C79
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C79#FFFFFF#000000##FFFFFF
##811C791.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#872949
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811c79;
/* rgb */ color: rgb(129, 28, 121);
/* oklch */ color: oklch(43.2% 0.170 331.6);
Tailwind
colors: {
  custom: {
    50: '#a965a0',
    500: '#811c79',
    950: '#000000',
  },
}
SCSS
$custom: #811c79;
$custom-light: #a965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#811c79",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 304.752,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.16984,
    "h": 331.6
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#811C79
secondary
#44B44D
accent
#E74E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811C79

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

Preview Lab → · Contrast checker → · Palette generator →

#811C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva