#811F7B#811F7B

#811F7B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.168 H 330.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#811F7B
RGBrgb(129, 31, 123)
HSLhsl(304, 61%, 31%)
HSVhsv(304, 76%, 51%)
CMYKcmyk(0%, 76%, 4.7%, 49.4%)
CIE-LABlab(31.98, 51.57, -29.83)
CIE-LCHlch(31.98, 59.57, 329.95°)
OKLaboklab(43.59% 0.1467 -0.0823)
OKLCHoklch(43.59% 0.168 330.7)
XYZxyz(13.1184, 7.0782, 19.4104)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F7B #1F8125
analogous
#561F81 #811F7B #811F4A
triadic
#811F7B #7B811F #1F7B81
tetradic
#811F7B #81561F #1F8125 #1F4A81
square
#811F7B #81561F #1F8125 #1F4A81
split-complementary
#811F7B #4A811F #1F8156
monochromatic
#1E071D #50134C #811F7B #B22BAA #D347CA

Accessibility & contrast

On white

8.69
#811F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F7B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F7B#FFFFFF#000000##FFFFFF
##811F7B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#862C4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811f7b;
/* rgb */ color: rgb(129, 31, 123);
/* oklch */ color: oklch(43.6% 0.168 330.7);
Tailwind
colors: {
  custom: {
    50: '#a966a1',
    500: '#811f7b',
    950: '#000000',
  },
}
SCSS
$custom: #811f7b;
$custom-light: #a966a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811f7b",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 303.673,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.16818,
    "h": 330.7
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#811F7B
secondary
#48B44F
accent
#E44D43
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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