#811F82#811F82

#811F82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.174 H 327.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#811F82
RGBrgb(129, 31, 130)
HSLhsl(299, 61%, 32%)
HSVhsv(299, 76%, 51%)
CMYKcmyk(0.8%, 76.2%, 0%, 49%)
CIE-LABlab(32.39, 52.76, -33.57)
CIE-LCHlch(32.39, 62.53, 327.53°)
OKLaboklab(44.01% 0.1467 -0.0931)
OKLCHoklch(44.01% 0.174 327.6)
XYZxyz(13.5723, 7.2598, 21.8012)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F82 #20821F
analogous
#501F82 #811F82 #821F52
triadic
#811F82 #82811F #1F8281
tetradic
#811F82 #82501F #20821F #1F5282
square
#811F82 #82501F #20821F #1F5282
split-complementary
#811F82 #52821F #1F8250
monochromatic
#1F071F #501351 #811F82 #B22BB3 #D248D3

Accessibility & contrast

On white

8.57
#811F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#811F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F82
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F82#FFFFFF#000000##FFFFFF
##811F821.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074485
Deuteranopia (green-blind)
#395180
Tritanopia (blue-blind)
#852F4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811f82;
/* rgb */ color: rgb(129, 31, 130);
/* oklch */ color: oklch(44.0% 0.174 327.6);
Tailwind
colors: {
  custom: {
    50: '#a966a7',
    500: '#811f82',
    950: '#000000',
  },
}
SCSS
$custom: #811f82;
$custom-light: #a966a7;
$custom-dark: #000000;
JSON
{
  "hex": "#811f82",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 299.394,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.17377,
    "h": 327.6
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#811F82
secondary
#49B548
accent
#E54345
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811F82

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

Preview Lab → · Contrast checker → · Palette generator →

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