#811171#811171

#811171 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.174 H 335.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#811171
RGBrgb(129, 17, 113)
HSLhsl(309, 77%, 29%)
HSVhsv(309, 87%, 51%)
CMYKcmyk(0%, 86.8%, 12.4%, 49.4%)
CIE-LABlab(30.06, 53.91, -26.52)
CIE-LCHlch(30.06, 60.08, 333.80°)
OKLaboklab(42.03% 0.1579 -0.0726)
OKLCHoklch(42.03% 0.174 335.3)
XYZxyz(12.2345, 6.2614, 16.1838)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811171 #118121
analogous
#591181 #811171 #811139
triadic
#811171 #718111 #117181
tetradic
#811171 #815911 #118121 #113981
square
#811171 #815911 #118121 #113981
split-complementary
#811171 #398111 #118159
monochromatic
#1B0418 #4B0A42 #811171 #B718A0 #E32AC8

Accessibility & contrast

On white

9.33
#811171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#811171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811171
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811171#FFFFFF#000000##FFFFFF
##8111711.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D73
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#881D42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #811171;
/* rgb */ color: rgb(129, 17, 113);
/* oklch */ color: oklch(42.0% 0.174 335.3);
Tailwind
colors: {
  custom: {
    50: '#a9619a',
    500: '#811171',
    950: '#000000',
  },
}
SCSS
$custom: #811171;
$custom-light: #a9619a;
$custom-dark: #000000;
JSON
{
  "hex": "#811171",
  "rgb": {
    "r": 129,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 308.571,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.17376,
    "h": 335.3
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#811171
secondary
#37B749
accent
#F35035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811171

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

Preview Lab → · Contrast checker → · Palette generator →

#811171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva