#801976#801976

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

Color values

HEX#801976
RGBrgb(128, 25, 118)
HSLhsl(306, 67%, 30%)
HSVhsv(306, 80%, 50%)
CMYKcmyk(0%, 80.5%, 7.8%, 49.8%)
CIE-LABlab(30.86, 52.41, -28.46)
CIE-LCHlch(30.86, 59.63, 331.50°)
OKLaboklab(42.66% 0.151 -0.0783)
OKLCHoklch(42.66% 0.17 332.6)
XYZxyz(12.5198, 6.5935, 17.7493)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801976 #198023
analogous
#561980 #801976 #801943
triadic
#801976 #768019 #197680
tetradic
#801976 #805619 #198023 #194380
square
#801976 #805619 #198023 #194380
split-complementary
#801976 #438019 #198056
monochromatic
#1A0518 #4D0F47 #801976 #B323A5 #D93BC9

Accessibility & contrast

On white

9.06
#801976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801976
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801976#FFFFFF#000000##FFFFFF
##8019761.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#862547
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801976;
/* rgb */ color: rgb(128, 25, 118);
/* oklch */ color: oklch(42.7% 0.170 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8639e',
    500: '#801976',
    950: '#000000',
  },
}
SCSS
$custom: #801976;
$custom-light: #a8639e;
$custom-dark: #000000;
JSON
{
  "hex": "#801976",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 305.825,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.17003,
    "h": 332.6
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#801976
secondary
#41B44C
accent
#EA4E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801976

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

Preview Lab → · Contrast checker → · Palette generator →

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