#811978#811978

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

Color values

HEX#811978
RGBrgb(129, 25, 120)
HSLhsl(305, 68%, 30%)
HSVhsv(305, 81%, 51%)
CMYKcmyk(0%, 80.6%, 7%, 49.4%)
CIE-LABlab(31.16, 52.95, -29.24)
CIE-LCHlch(31.16, 60.49, 331.09°)
OKLaboklab(42.94% 0.1521 -0.0805)
OKLCHoklch(42.94% 0.172 332.1)
XYZxyz(12.7911, 6.7195, 18.3890)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811978 #198122
analogous
#561981 #811978 #811944
triadic
#811978 #788119 #197881
tetradic
#811978 #815619 #198122 #194481
square
#811978 #815619 #198122 #194481
split-complementary
#811978 #448119 #198156
monochromatic
#1A0519 #4E0F48 #811978 #B423A8 #D93BCB

Accessibility & contrast

On white

8.96
#811978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811978
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811978#FFFFFF#000000##FFFFFF
##8119781.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10407A
Deuteranopia (green-blind)
#3D4E76
Tritanopia (blue-blind)
#872648
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #811978;
/* rgb */ color: rgb(129, 25, 120);
/* oklch */ color: oklch(42.9% 0.172 332.1);
Tailwind
colors: {
  custom: {
    50: '#a9649f',
    500: '#811978',
    950: '#000000',
  },
}
SCSS
$custom: #811978;
$custom-light: #a9649f;
$custom-dark: #000000;
JSON
{
  "hex": "#811978",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 305.192,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.17206,
    "h": 332.1
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#811978
secondary
#41B54B
accent
#EA4C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811978

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

Preview Lab → · Contrast checker → · Palette generator →

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