#811F72#811F72

#811F72 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 335.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#811F72
RGBrgb(129, 31, 114)
HSLhsl(309, 61%, 31%)
HSVhsv(309, 76%, 51%)
CMYKcmyk(0%, 76%, 11.6%, 49.4%)
CIE-LABlab(31.49, 50.10, -24.91)
CIE-LCHlch(31.49, 55.95, 333.56°)
OKLaboklab(43.08% 0.1462 -0.0681)
OKLCHoklch(43.08% 0.161 335)
XYZxyz(12.5807, 6.8631, 16.5785)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F72 #1F812E
analogous
#5F1F81 #811F72 #811F41
triadic
#811F72 #72811F #1F7281
tetradic
#811F72 #815F1F #1F812E #1F4181
square
#811F72 #815F1F #1F812E #1F4181
split-complementary
#811F72 #41811F #1F815F
monochromatic
#1E071B #501346 #811F72 #B22B9E #D347BE

Accessibility & contrast

On white

8.85
#811F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811F72
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F72#FFFFFF#000000##FFFFFF
##811F721.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811f72;
/* rgb */ color: rgb(129, 31, 114);
/* oklch */ color: oklch(43.1% 0.161 335.0);
Tailwind
colors: {
  custom: {
    50: '#a9669b',
    500: '#811f72',
    950: '#000000',
  },
}
SCSS
$custom: #811f72;
$custom-light: #a9669b;
$custom-dark: #000000;
JSON
{
  "hex": "#811f72",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 309.184,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.16126,
    "h": 335
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#811F72
secondary
#48B458
accent
#E45C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811F72

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

Preview Lab → · Contrast checker → · Palette generator →

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