#811981#811981

#811981 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.179 H 328.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#811981
RGBrgb(129, 25, 129)
HSLhsl(300, 68%, 30%)
HSVhsv(300, 81%, 51%)
CMYKcmyk(0%, 80.6%, 0%, 49.4%)
CIE-LABlab(31.69, 54.44, -34.06)
CIE-LCHlch(31.69, 64.22, 327.96°)
OKLaboklab(43.49% 0.152 -0.0945)
OKLCHoklch(43.49% 0.179 328.1)
XYZxyz(13.3632, 6.9484, 21.4020)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811981 #198119
analogous
#4D1981 #811981 #81194D
triadic
#811981 #818119 #198181
tetradic
#811981 #814D19 #198119 #194D81
square
#811981 #814D19 #198119 #194D81
split-complementary
#811981 #4D8119 #19814D
monochromatic
#1A051A #4E0F4E #811981 #B423B4 #D93BD9

Accessibility & contrast

On white

8.79
#811981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#811981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811981
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811981#FFFFFF#000000##FFFFFF
##8119811.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#384F7F
Tritanopia (blue-blind)
#852B4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811981;
/* rgb */ color: rgb(129, 25, 129);
/* oklch */ color: oklch(43.5% 0.179 328.1);
Tailwind
colors: {
  custom: {
    50: '#a964a6',
    500: '#811981',
    950: '#000000',
  },
}
SCSS
$custom: #811981;
$custom-light: #a964a6;
$custom-dark: #000000;
JSON
{
  "hex": "#811981",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 300,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.17896,
    "h": 328.1
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#811981
secondary
#41B541
accent
#EA3D3D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811981

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

Preview Lab → · Contrast checker → · Palette generator →

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