#811781#811781

#811781 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.181 H 328.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#811781
RGBrgb(129, 23, 129)
HSLhsl(300, 70%, 30%)
HSVhsv(300, 82%, 51%)
CMYKcmyk(0%, 82.2%, 0%, 49.4%)
CIE-LABlab(31.50, 54.98, -34.37)
CIE-LCHlch(31.50, 64.84, 327.99°)
OKLaboklab(43.36% 0.1535 -0.0954)
OKLCHoklch(43.36% 0.181 328.2)
XYZxyz(13.3220, 6.8659, 21.3882)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811781 #178117
analogous
#4C1781 #811781 #81174C
triadic
#811781 #818117 #178181
tetradic
#811781 #814C17 #178117 #174C81
square
#811781 #814C17 #178117 #174C81
split-complementary
#811781 #4C8117 #17814C
monochromatic
#1A051A #4D0E4D #811781 #B520B5 #DB37DB

Accessibility & contrast

On white

8.85
#811781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#811781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811781
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811781#FFFFFF#000000##FFFFFF
##8117811.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#374F7F
Tritanopia (blue-blind)
#852A4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811781;
/* rgb */ color: rgb(129, 23, 129);
/* oklch */ color: oklch(43.4% 0.181 328.2);
Tailwind
colors: {
  custom: {
    50: '#a963a6',
    500: '#811781',
    950: '#000000',
  },
}
SCSS
$custom: #811781;
$custom-light: #a963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#811781",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 300,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.18074,
    "h": 328.2
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#811781
secondary
#3EB53E
accent
#ED3B3B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811781

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

Preview Lab → · Contrast checker → · Palette generator →

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