#811772#811772

#811772 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.170 H 334.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#811772
RGBrgb(129, 23, 114)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 82.2%, 11.6%, 49.4%)
CIE-LABlab(30.63, 52.57, -26.27)
CIE-LCHlch(30.63, 58.77, 333.45°)
OKLaboklab(42.46% 0.1535 -0.0719)
OKLCHoklch(42.46% 0.17 334.9)
XYZxyz(12.3971, 6.4960, 16.5173)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811772 #178126
analogous
#5B1781 #811772 #81173D
triadic
#811772 #728117 #177281
tetradic
#811772 #815B17 #178126 #173D81
square
#811772 #815B17 #178126 #173D81
split-complementary
#811772 #3D8117 #17815B
monochromatic
#1A0517 #4D0E44 #811772 #B520A0 #DB37C4

Accessibility & contrast

On white

9.13
#811772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#811772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811772
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811772#FFFFFF#000000##FFFFFF
##8117721.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#3F4E70
Tritanopia (blue-blind)
#882144
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #811772;
/* rgb */ color: rgb(129, 23, 114);
/* oklch */ color: oklch(42.5% 0.170 334.9);
Tailwind
colors: {
  custom: {
    50: '#a9639b',
    500: '#811772',
    950: '#000000',
  },
}
SCSS
$custom: #811772;
$custom-light: #a9639b;
$custom-dark: #000000;
JSON
{
  "hex": "#811772",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 308.491,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.16951,
    "h": 334.9
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#811772
secondary
#3EB54F
accent
#ED543B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811772

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

Preview Lab → · Contrast checker → · Palette generator →

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