#802078#802078

#802078 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.164 H 331.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#802078
RGBrgb(128, 32, 120)
HSLhsl(305, 60%, 31%)
HSVhsv(305, 75%, 50%)
CMYKcmyk(0%, 75%, 6.3%, 49.8%)
CIE-LABlab(31.76, 50.49, -28.31)
CIE-LCHlch(31.76, 57.88, 330.72°)
OKLaboklab(43.34% 0.1445 -0.0779)
OKLCHoklch(43.34% 0.164 331.7)
XYZxyz(12.8088, 6.9793, 18.4382)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802078 #208028
analogous
#582080 #802078 #802048
triadic
#802078 #788020 #207880
tetradic
#802078 #805820 #208028 #204880
square
#802078 #805820 #208028 #204880
split-complementary
#802078 #488020 #208058
monochromatic
#1E081C #4F144A #802078 #B12CA6 #D149C6

Accessibility & contrast

On white

8.77
#802078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802078
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802078#FFFFFF#000000##FFFFFF
##8020781.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19427A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#852B4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802078;
/* rgb */ color: rgb(128, 32, 120);
/* oklch */ color: oklch(43.3% 0.164 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8669f',
    500: '#802078',
    950: '#000000',
  },
}
SCSS
$custom: #802078;
$custom-light: #a8669f;
$custom-dark: #000000;
JSON
{
  "hex": "#802078",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.16413,
    "h": 331.7
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#802078
secondary
#49B352
accent
#E35245
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802078

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

Preview Lab → · Contrast checker → · Palette generator →

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