#811771#811771

#811771 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.169 H 335.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#811771
RGBrgb(129, 23, 113)
HSLhsl(309, 70%, 30%)
HSVhsv(309, 82%, 51%)
CMYKcmyk(0%, 82.2%, 12.4%, 49.4%)
CIE-LABlab(30.58, 52.42, -25.72)
CIE-LCHlch(30.58, 58.39, 333.87°)
OKLaboklab(42.4% 0.1534 -0.0703)
OKLCHoklch(42.4% 0.169 335.4)
XYZxyz(12.3405, 6.4733, 16.2191)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811771 #178127
analogous
#5C1781 #811771 #81173C
triadic
#811771 #718117 #177181
tetradic
#811771 #815C17 #178127 #173C81
square
#811771 #815C17 #178127 #173C81
split-complementary
#811771 #3C8117 #17815C
monochromatic
#1A0517 #4D0E44 #811771 #B5209E #DB37C3

Accessibility & contrast

On white

9.15
#811771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#811771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811771
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811771#FFFFFF#000000##FFFFFF
##8117711.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#882144
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811771;
/* rgb */ color: rgb(129, 23, 113);
/* oklch */ color: oklch(42.4% 0.169 335.4);
Tailwind
colors: {
  custom: {
    50: '#a9639a',
    500: '#811771',
    950: '#000000',
  },
}
SCSS
$custom: #811771;
$custom-light: #a9639a;
$custom-dark: #000000;
JSON
{
  "hex": "#811771",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 309.057,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.424,
    "c": 0.16879,
    "h": 335.4
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#811771
secondary
#3EB550
accent
#ED563B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811771

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

Preview Lab → · Contrast checker → · Palette generator →

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