#811F8A#811F8A

#811F8A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.180 H 324.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#811F8A
RGBrgb(129, 31, 138)
HSLhsl(295, 63%, 33%)
HSVhsv(295, 78%, 54%)
CMYKcmyk(6.5%, 77.5%, 0%, 45.9%)
CIE-LABlab(32.88, 54.18, -37.76)
CIE-LCHlch(32.88, 66.04, 325.12°)
OKLaboklab(44.52% 0.1464 -0.1053)
OKLCHoklch(44.52% 0.18 324.3)
XYZxyz(14.1303, 7.4830, 24.7399)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F8A #288A1F
analogous
#4B1F8A #811F8A #8A1F5D
triadic
#811F8A #8A811F #1F8A81
tetradic
#811F8A #8A4B1F #288A1F #1F5D8A
square
#811F8A #8A4B1F #288A1F #1F5D8A
split-complementary
#811F8A #5D8A1F #1F8A4B
monochromatic
#240926 #521458 #811F8A #B02ABC #CB4CD7

Accessibility & contrast

On white

8.41
#811F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#811F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F8A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F8A#FFFFFF#000000##FFFFFF
##811F8A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#843354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811f8a;
/* rgb */ color: rgb(129, 31, 138);
/* oklch */ color: oklch(44.5% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a967ad',
    500: '#811f8a',
    950: '#000000',
  },
}
SCSS
$custom: #811f8a;
$custom-light: #a967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811f8a",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 294.953,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.18035,
    "h": 324.3
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#811F8A
secondary
#54BA4B
accent
#E6414F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #811F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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