#811581#811581

#811581 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 328.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#811581
RGBrgb(129, 21, 129)
HSLhsl(300, 72%, 29%)
HSVhsv(300, 84%, 51%)
CMYKcmyk(0%, 83.7%, 0%, 49.4%)
CIE-LABlab(31.32, 55.50, -34.65)
CIE-LCHlch(31.32, 65.43, 328.02°)
OKLaboklab(43.23% 0.155 -0.0962)
OKLCHoklch(43.23% 0.182 328.2)
XYZxyz(13.2837, 6.7895, 21.3755)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811581 #158115
analogous
#4B1581 #811581 #81154B
triadic
#811581 #818115 #158181
tetradic
#811581 #814B15 #158115 #154B81
square
#811581 #814B15 #158115 #154B81
split-complementary
#811581 #4B8115 #15814B
monochromatic
#1A041A #4C0C4C #811581 #B61EB6 #DE33DE

Accessibility & contrast

On white

8.91
#811581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#811581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811581
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811581#FFFFFF#000000##FFFFFF
##8115811.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#85294C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811581;
/* rgb */ color: rgb(129, 21, 129);
/* oklch */ color: oklch(43.2% 0.182 328.2);
Tailwind
colors: {
  custom: {
    50: '#a963a6',
    500: '#811581',
    950: '#000000',
  },
}
SCSS
$custom: #811581;
$custom-light: #a963a6;
$custom-dark: #000000;
JSON
{
  "hex": "#811581",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 300,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.1824,
    "h": 328.2
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#811581
secondary
#3CB63C
accent
#EF3939
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811581

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

Preview Lab → · Contrast checker → · Palette generator →

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