#801978#801978

#801978 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.172 H 331.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#801978
RGBrgb(128, 25, 120)
HSLhsl(305, 67%, 30%)
HSVhsv(305, 80%, 50%)
CMYKcmyk(0%, 80.5%, 6.3%, 49.8%)
CIE-LABlab(30.98, 52.73, -29.54)
CIE-LCHlch(30.98, 60.44, 330.74°)
OKLaboklab(42.78% 0.151 -0.0814)
OKLCHoklch(42.78% 0.172 331.7)
XYZxyz(12.6399, 6.6416, 18.3819)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801978 #198021
analogous
#541980 #801978 #801945
triadic
#801978 #788019 #197880
tetradic
#801978 #805419 #198021 #194580
square
#801978 #805419 #198021 #194580
split-complementary
#801978 #458019 #198054
monochromatic
#1A0518 #4D0F48 #801978 #B323A8 #D93BCC

Accessibility & contrast

On white

9.02
#801978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#801978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801978
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801978#FFFFFF#000000##FFFFFF
##8019781.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#862748
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #801978;
/* rgb */ color: rgb(128, 25, 120);
/* oklch */ color: oklch(42.8% 0.172 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8639f',
    500: '#801978',
    950: '#000000',
  },
}
SCSS
$custom: #801978;
$custom-light: #a8639f;
$custom-dark: #000000;
JSON
{
  "hex": "#801978",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 304.66,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.17155,
    "h": 331.7
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#801978
secondary
#41B44A
accent
#EA4B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801978

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

Preview Lab → · Contrast checker → · Palette generator →

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