#801278#801278

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

Color values

HEX#801278
RGBrgb(128, 18, 120)
HSLhsl(304, 75%, 29%)
HSVhsv(304, 86%, 50%)
CMYKcmyk(0%, 85.9%, 6.3%, 49.8%)
CIE-LABlab(30.35, 54.55, -30.54)
CIE-LCHlch(30.35, 62.51, 330.76°)
OKLaboklab(42.33% 0.1563 -0.0842)
OKLCHoklch(42.33% 0.178 331.7)
XYZxyz(12.5086, 6.3789, 18.3381)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801278 #12801A
analogous
#511280 #801278 #801241
triadic
#801278 #788012 #127880
tetradic
#801278 #805112 #12801A #124180
square
#801278 #805112 #12801A #124180
split-complementary
#801278 #418012 #128051
monochromatic
#1B0419 #4A0A46 #801278 #B61AAA #E12BD4

Accessibility & contrast

On white

9.23
#801278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#801278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801278
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801278#FFFFFF#000000##FFFFFF
##8012781.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7B
Deuteranopia (green-blind)
#3A4D76
Tritanopia (blue-blind)
#862347
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #801278;
/* rgb */ color: rgb(128, 18, 120);
/* oklch */ color: oklch(42.3% 0.178 331.7);
Tailwind
colors: {
  custom: {
    50: '#a9619f',
    500: '#801278',
    950: '#000000',
  },
}
SCSS
$custom: #801278;
$custom-light: #a9619f;
$custom-dark: #000000;
JSON
{
  "hex": "#801278",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 120
  },
  "hsl": {
    "h": 304.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.17754,
    "h": 331.7
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#801278
secondary
#38B641
accent
#F24436
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #801278

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

Preview Lab → · Contrast checker → · Palette generator →

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