#811A74#811A74

#811A74 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.168 H 334.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#811A74
RGBrgb(129, 26, 116)
HSLhsl(308, 66%, 30%)
HSVhsv(308, 80%, 51%)
CMYKcmyk(0%, 79.8%, 10.1%, 49.4%)
CIE-LABlab(31.04, 52.02, -26.90)
CIE-LCHlch(31.04, 58.57, 332.66°)
OKLaboklab(42.78% 0.1511 -0.0737)
OKLCHoklch(42.78% 0.168 334)
XYZxyz(12.5752, 6.6680, 17.1444)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A74 #1A8127
analogous
#5A1A81 #811A74 #811A40
triadic
#811A74 #74811A #1A7481
tetradic
#811A74 #815A1A #1A8127 #1A4081
square
#811A74 #815A1A #1A8127 #1A4081
split-complementary
#811A74 #40811A #1A815A
monochromatic
#1B0518 #4E1046 #811A74 #B424A2 #D83DC4

Accessibility & contrast

On white

9.00
#811A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#811A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A74
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A74#FFFFFF#000000##FFFFFF
##811A741.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174076
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#872546
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811a74;
/* rgb */ color: rgb(129, 26, 116);
/* oklch */ color: oklch(42.8% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#a9649c',
    500: '#811a74',
    950: '#000000',
  },
}
SCSS
$custom: #811a74;
$custom-light: #a9649c;
$custom-dark: #000000;
JSON
{
  "hex": "#811a74",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 307.573,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.1681,
    "h": 334
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#811A74
secondary
#42B550
accent
#E9543E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811A74

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

Preview Lab → · Contrast checker → · Palette generator →

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