#801478#801478

#801478 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.176 H 331.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#801478
RGBrgb(128, 20, 120)
HSLhsl(304, 73%, 29%)
HSVhsv(304, 84%, 50%)
CMYKcmyk(0%, 84.4%, 6.3%, 49.8%)
CIE-LABlab(30.51, 54.07, -30.28)
CIE-LCHlch(30.51, 61.97, 330.75°)
OKLaboklab(42.45% 0.1549 -0.0835)
OKLCHoklch(42.45% 0.176 331.7)
XYZxyz(12.5424, 6.4466, 18.3494)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801478 #14801C
analogous
#521480 #801478 #801442
triadic
#801478 #788014 #147880
tetradic
#801478 #805214 #14801C #144280
square
#801478 #805214 #14801C #144280
split-complementary
#801478 #428014 #148052
monochromatic
#1A0419 #4B0C46 #801478 #B51CAA #DF30D2

Accessibility & contrast

On white

9.17
#801478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#801478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801478
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801478#FFFFFF#000000##FFFFFF
##8014781.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E7B
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#862447
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #801478;
/* rgb */ color: rgb(128, 20, 120);
/* oklch */ color: oklch(42.4% 0.176 331.7);
Tailwind
colors: {
  custom: {
    50: '#a9629f',
    500: '#801478',
    950: '#000000',
  },
}
SCSS
$custom: #801478;
$custom-light: #a9629f;
$custom-dark: #000000;
JSON
{
  "hex": "#801478",
  "rgb": {
    "r": 128,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 304.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.17597,
    "h": 331.7
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#801478
secondary
#3BB544
accent
#F04638
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801478

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

Preview Lab → · Contrast checker → · Palette generator →

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