#802079#802079

#802079 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.165 H 331.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#802079
RGBrgb(128, 32, 121)
HSLhsl(304, 60%, 31%)
HSVhsv(304, 75%, 50%)
CMYKcmyk(0%, 75%, 5.5%, 49.8%)
CIE-LABlab(31.82, 50.65, -28.85)
CIE-LCHlch(31.82, 58.29, 330.34°)
OKLaboklab(43.4% 0.1445 -0.0795)
OKLCHoklch(43.4% 0.165 331.2)
XYZxyz(12.8698, 7.0037, 18.7595)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802079 #208027
analogous
#572080 #802079 #802049
triadic
#802079 #798020 #207980
tetradic
#802079 #805720 #208027 #204980
square
#802079 #805720 #208027 #204980
split-complementary
#802079 #498020 #208057
monochromatic
#1E081C #4F144B #802079 #B12CA7 #D149C8

Accessibility & contrast

On white

8.75
#802079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802079
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802079#FFFFFF#000000##FFFFFF
##8020791.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#852C4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802079;
/* rgb */ color: rgb(128, 32, 121);
/* oklch */ color: oklch(43.4% 0.165 331.2);
Tailwind
colors: {
  custom: {
    50: '#a866a0',
    500: '#802079',
    950: '#000000',
  },
}
SCSS
$custom: #802079;
$custom-light: #a866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802079",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 304.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.16493,
    "h": 331.2
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#802079
secondary
#49B351
accent
#E35045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802079

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

Preview Lab → · Contrast checker → · Palette generator →

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