#811B8A#811B8A

#811B8A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.184 H 324.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#811B8A
RGBrgb(129, 27, 138)
HSLhsl(295, 67%, 32%)
HSVhsv(295, 80%, 54%)
CMYKcmyk(6.5%, 80.4%, 0%, 45.9%)
CIE-LABlab(32.45, 55.42, -38.45)
CIE-LCHlch(32.45, 67.45, 325.25°)
OKLaboklab(44.21% 0.1498 -0.1073)
OKLCHoklch(44.21% 0.184 324.4)
XYZxyz(14.0323, 7.2869, 24.7072)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B8A #248A1B
analogous
#491B8A #811B8A #8A1B5C
triadic
#811B8A #8A811B #1B8A81
tetradic
#811B8A #8A491B #248A1B #1B5C8A
square
#811B8A #8A491B #248A1B #1B5C8A
split-complementary
#811B8A #5C8A1B #1B8A49
monochromatic
#210724 #511157 #811B8A #B125BD #CE45DB

Accessibility & contrast

On white

8.55
#811B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#811B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B8A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B8A#FFFFFF#000000##FFFFFF
##811B8A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#843153
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811b8a;
/* rgb */ color: rgb(129, 27, 138);
/* oklch */ color: oklch(44.2% 0.184 324.4);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#811b8a',
    950: '#000000',
  },
}
SCSS
$custom: #811b8a;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811b8a",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 295.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.18427,
    "h": 324.4
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#811B8A
secondary
#4EBC45
accent
#EA3E4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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