#811A71#811A71

#811A71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.166 H 335.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#811A71
RGBrgb(129, 26, 113)
HSLhsl(309, 66%, 30%)
HSVhsv(309, 80%, 51%)
CMYKcmyk(0%, 79.8%, 12.4%, 49.4%)
CIE-LABlab(30.88, 51.56, -25.24)
CIE-LCHlch(30.88, 57.41, 333.91°)
OKLaboklab(42.62% 0.1509 -0.069)
OKLCHoklch(42.62% 0.166 335.4)
XYZxyz(12.4035, 6.5993, 16.2401)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A71 #1A812A
analogous
#5D1A81 #811A71 #811A3E
triadic
#811A71 #71811A #1A7181
tetradic
#811A71 #815D1A #1A812A #1A3E81
square
#811A71 #815D1A #1A812A #1A3E81
split-complementary
#811A71 #3E811A #1A815D
monochromatic
#1B0518 #4E1044 #811A71 #B4249E #D83DC0

Accessibility & contrast

On white

9.05
#811A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#811A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A71
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A71#FFFFFF#000000##FFFFFF
##811A711.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#882344
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811a71;
/* rgb */ color: rgb(129, 26, 113);
/* oklch */ color: oklch(42.6% 0.166 335.4);
Tailwind
colors: {
  custom: {
    50: '#a9649a',
    500: '#811a71',
    950: '#000000',
  },
}
SCSS
$custom: #811a71;
$custom-light: #a9649a;
$custom-dark: #000000;
JSON
{
  "hex": "#811a71",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 309.32,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.1659,
    "h": 335.4
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#811A71
secondary
#42B554
accent
#E9593E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811A71

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

Preview Lab → · Contrast checker → · Palette generator →

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