#811973#811973

#811973 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.168 H 334.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#811973
RGBrgb(129, 25, 115)
HSLhsl(308, 68%, 30%)
HSVhsv(308, 81%, 51%)
CMYKcmyk(0%, 80.6%, 10.9%, 49.4%)
CIE-LABlab(30.88, 52.16, -26.51)
CIE-LCHlch(30.88, 58.51, 333.06°)
OKLaboklab(42.65% 0.1519 -0.0726)
OKLCHoklch(42.65% 0.168 334.4)
XYZxyz(12.4955, 6.6013, 16.8324)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811973 #198127
analogous
#5B1981 #811973 #81193F
triadic
#811973 #738119 #197381
tetradic
#811973 #815B19 #198127 #193F81
square
#811973 #815B19 #198127 #193F81
split-complementary
#811973 #3F8119 #19815B
monochromatic
#1A0518 #4E0F45 #811973 #B423A1 #D93BC4

Accessibility & contrast

On white

9.05
#811973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#811973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##811973#FFFFFF#000000##FFFFFF
##8119731.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)
#173F75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#872345
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811973;
/* rgb */ color: rgb(129, 25, 115);
/* oklch */ color: oklch(42.7% 0.168 334.4);
Tailwind
colors: {
  custom: {
    50: '#a9639b',
    500: '#811973',
    950: '#000000',
  },
}
SCSS
$custom: #811973;
$custom-light: #a9639b;
$custom-dark: #000000;
JSON
{
  "hex": "#811973",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 308.077,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.16835,
    "h": 334.4
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#811973
secondary
#41B550
accent
#EA553D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811973

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

Preview Lab → · Contrast checker → · Palette generator →

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