#811C84#811C84

#811C84 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.178 H 326.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#811C84
RGBrgb(129, 28, 132)
HSLhsl(298, 65%, 31%)
HSVhsv(298, 79%, 52%)
CMYKcmyk(2.3%, 78.8%, 0%, 48.2%)
CIE-LABlab(32.18, 54.07, -35.16)
CIE-LCHlch(32.18, 64.49, 326.96°)
OKLaboklab(43.9% 0.1494 -0.0977)
OKLCHoklch(43.9% 0.178 326.8)
XYZxyz(13.6331, 7.1645, 22.4902)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C84 #1F841C
analogous
#4D1C84 #811C84 #841C53
triadic
#811C84 #84811C #1C8481
tetradic
#811C84 #844D1C #1F841C #1C5384
square
#811C84 #844D1C #1F841C #1C5384
split-complementary
#811C84 #53841C #1C844D
monochromatic
#1E071F #501152 #811C84 #B227B6 #D343D7

Accessibility & contrast

On white

8.63
#811C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#811C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C84
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C84#FFFFFF#000000##FFFFFF
##811C841.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#852E4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811c84;
/* rgb */ color: rgb(129, 28, 132);
/* oklch */ color: oklch(43.9% 0.178 326.8);
Tailwind
colors: {
  custom: {
    50: '#a965a8',
    500: '#811c84',
    950: '#000000',
  },
}
SCSS
$custom: #811c84;
$custom-light: #a965a8;
$custom-dark: #000000;
JSON
{
  "hex": "#811c84",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 298.269,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.17848,
    "h": 326.8
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#811C84
secondary
#48B745
accent
#E84045
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C84

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

Preview Lab → · Contrast checker → · Palette generator →

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