#811B7D#811B7D

#811B7D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.174 H 329.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#811B7D
RGBrgb(129, 27, 125)
HSLhsl(302, 65%, 31%)
HSVhsv(302, 79%, 51%)
CMYKcmyk(0%, 79.1%, 3.1%, 49.4%)
CIE-LABlab(31.65, 53.18, -31.61)
CIE-LCHlch(31.65, 61.87, 329.27°)
OKLaboklab(43.39% 0.1504 -0.0874)
OKLCHoklch(43.39% 0.174 329.8)
XYZxyz(13.1468, 6.9327, 20.0438)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B7D #1B811F
analogous
#521B81 #811B7D #811B4A
triadic
#811B7D #7D811B #1B7D81
tetradic
#811B7D #81521B #1B811F #1B4A81
square
#811B7D #81521B #1B811F #1B4A81
split-complementary
#811B7D #4A811B #1B8152
monochromatic
#1C061B #4E104C #811B7D #B426AE #D73FD1

Accessibility & contrast

On white

8.80
#811B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#811B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B7D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B7D#FFFFFF#000000##FFFFFF
##811B7D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#3B4F7B
Tritanopia (blue-blind)
#862A4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811b7d;
/* rgb */ color: rgb(129, 27, 125);
/* oklch */ color: oklch(43.4% 0.174 329.8);
Tailwind
colors: {
  custom: {
    50: '#a964a3',
    500: '#811b7d',
    950: '#000000',
  },
}
SCSS
$custom: #811b7d;
$custom-light: #a964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#811b7d",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 302.353,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.17394,
    "h": 329.8
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#811B7D
secondary
#43B548
accent
#E8463F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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