#811F71#811F71

#811F71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.161 H 335.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#811F71
RGBrgb(129, 31, 113)
HSLhsl(310, 61%, 31%)
HSVhsv(310, 76%, 51%)
CMYKcmyk(0%, 76%, 12.4%, 49.4%)
CIE-LABlab(31.44, 49.95, -24.36)
CIE-LCHlch(31.44, 55.57, 334.00°)
OKLaboklab(43.02% 0.1461 -0.0665)
OKLCHoklch(43.02% 0.161 335.5)
XYZxyz(12.5241, 6.8405, 16.2803)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F71 #1F812F
analogous
#601F81 #811F71 #811F40
triadic
#811F71 #71811F #1F7181
tetradic
#811F71 #81601F #1F812F #1F4081
square
#811F71 #81601F #1F812F #1F4081
split-complementary
#811F71 #40811F #1F8160
monochromatic
#1E071B #501346 #811F71 #B22B9C #D347BC

Accessibility & contrast

On white

8.87
#811F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#811F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F71
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F71#FFFFFF#000000##FFFFFF
##811F711.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4173
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#882746
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811f71;
/* rgb */ color: rgb(129, 31, 113);
/* oklch */ color: oklch(43.0% 0.161 335.5);
Tailwind
colors: {
  custom: {
    50: '#a9659a',
    500: '#811f71',
    950: '#000000',
  },
}
SCSS
$custom: #811f71;
$custom-light: #a9659a;
$custom-dark: #000000;
JSON
{
  "hex": "#811f71",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 309.796,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.16051,
    "h": 335.5
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#811F71
secondary
#48B45A
accent
#E45E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811F71

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

Preview Lab → · Contrast checker → · Palette generator →

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