#811F74#811F74

#811F74 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.163 H 334.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#811F74
RGBrgb(129, 31, 116)
HSLhsl(308, 61%, 31%)
HSVhsv(308, 76%, 51%)
CMYKcmyk(0%, 76%, 10.1%, 49.4%)
CIE-LABlab(31.60, 50.42, -26.02)
CIE-LCHlch(31.60, 56.74, 332.71°)
OKLaboklab(43.19% 0.1463 -0.0712)
OKLCHoklch(43.19% 0.163 334)
XYZxyz(12.6957, 6.9092, 17.1846)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F74 #1F812C
analogous
#5D1F81 #811F74 #811F43
triadic
#811F74 #74811F #1F7481
tetradic
#811F74 #815D1F #1F812C #1F4381
square
#811F74 #815D1F #1F812C #1F4381
split-complementary
#811F74 #43811F #1F815D
monochromatic
#1E071B #501348 #811F74 #B22BA0 #D347C0

Accessibility & contrast

On white

8.82
#811F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#811F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F74
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F74#FFFFFF#000000##FFFFFF
##811F741.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#414F72
Tritanopia (blue-blind)
#872847
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811f74;
/* rgb */ color: rgb(129, 31, 116);
/* oklch */ color: oklch(43.2% 0.163 334.0);
Tailwind
colors: {
  custom: {
    50: '#a9669c',
    500: '#811f74',
    950: '#000000',
  },
}
SCSS
$custom: #811f74;
$custom-light: #a9669c;
$custom-dark: #000000;
JSON
{
  "hex": "#811f74",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 307.959,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.16276,
    "h": 334
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#811F74
secondary
#48B456
accent
#E45943
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811F74

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

Preview Lab → · Contrast checker → · Palette generator →

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