#811977#811977

#811977 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.171 H 332.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#811977
RGBrgb(129, 25, 119)
HSLhsl(306, 68%, 30%)
HSVhsv(306, 81%, 51%)
CMYKcmyk(0%, 80.6%, 7.8%, 49.4%)
CIE-LABlab(31.10, 52.79, -28.70)
CIE-LCHlch(31.10, 60.09, 331.47°)
OKLaboklab(42.88% 0.152 -0.0789)
OKLCHoklch(42.88% 0.171 332.6)
XYZxyz(12.7307, 6.6954, 18.0710)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811977 #198123
analogous
#571981 #811977 #811943
triadic
#811977 #778119 #197781
tetradic
#811977 #815719 #198123 #194381
square
#811977 #815719 #198123 #194381
split-complementary
#811977 #438119 #198157
monochromatic
#1A0518 #4E0F48 #811977 #B423A6 #D93BCA

Accessibility & contrast

On white

8.98
#811977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#811977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811977
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811977#FFFFFF#000000##FFFFFF
##8119771.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124079
Deuteranopia (green-blind)
#3D4E75
Tritanopia (blue-blind)
#872647
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811977;
/* rgb */ color: rgb(129, 25, 119);
/* oklch */ color: oklch(42.9% 0.171 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9639e',
    500: '#811977',
    950: '#000000',
  },
}
SCSS
$custom: #811977;
$custom-light: #a9639e;
$custom-dark: #000000;
JSON
{
  "hex": "#811977",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 305.769,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.17131,
    "h": 332.6
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#811977
secondary
#41B54C
accent
#EA4E3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811977

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

Preview Lab → · Contrast checker → · Palette generator →

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