#811F7A#811F7A

#811F7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.167 H 331.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#811F7A
RGBrgb(129, 31, 122)
HSLhsl(304, 61%, 31%)
HSVhsv(304, 76%, 51%)
CMYKcmyk(0%, 76%, 5.4%, 49.4%)
CIE-LABlab(31.93, 51.40, -29.29)
CIE-LCHlch(31.93, 59.16, 330.32°)
OKLaboklab(43.53% 0.1467 -0.0807)
OKLCHoklch(43.53% 0.167 331.2)
XYZxyz(13.0561, 7.0533, 19.0824)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F7A #1F8126
analogous
#571F81 #811F7A #811F49
triadic
#811F7A #7A811F #1F7A81
tetradic
#811F7A #81571F #1F8126 #1F4981
square
#811F7A #81571F #1F8126 #1F4981
split-complementary
#811F7A #49811F #1F8157
monochromatic
#1E071D #50134B #811F7A #B22BA9 #D347C9

Accessibility & contrast

On white

8.71
#811F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#811F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F7A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F7A#FFFFFF#000000##FFFFFF
##811F7A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#862B4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811f7a;
/* rgb */ color: rgb(129, 31, 122);
/* oklch */ color: oklch(43.5% 0.167 331.2);
Tailwind
colors: {
  custom: {
    50: '#a966a1',
    500: '#811f7a',
    950: '#000000',
  },
}
SCSS
$custom: #811f7a;
$custom-light: #a966a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811f7a",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 304.286,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43529,
    "c": 0.16739,
    "h": 331.2
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#811F7A
secondary
#48B450
accent
#E44F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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