#802B78#802B78

#802B78 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.150 H 331.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#802B78
RGBrgb(128, 43, 120)
HSLhsl(306, 50%, 34%)
HSVhsv(306, 66%, 50%)
CMYKcmyk(0%, 66.4%, 6.3%, 49.8%)
CIE-LABlab(33.29, 46.17, -25.89)
CIE-LCHlch(33.29, 52.93, 330.72°)
OKLaboklab(44.45% 0.132 -0.071)
OKLCHoklch(44.45% 0.15 331.7)
XYZxyz(13.1561, 7.6740, 18.5540)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B78 #2B8033
analogous
#5D2B80 #802B78 #802B4D
triadic
#802B78 #78802B #2B7880
tetradic
#802B78 #805D2B #2B8033 #2B4D80
square
#802B78 #805D2B #2B8033 #2B4D80
split-complementary
#802B78 #4D802B #2B805D
monochromatic
#240C22 #521C4D #802B78 #AE3AA3 #C95DBE

Accessibility & contrast

On white

8.29
#802B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B78
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B78#FFFFFF#000000##FFFFFF
##802B781.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477A
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#85334D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802b78;
/* rgb */ color: rgb(128, 43, 120);
/* oklch */ color: oklch(44.4% 0.150 331.7);
Tailwind
colors: {
  custom: {
    50: '#a86b9f',
    500: '#802b78',
    950: '#000000',
  },
}
SCSS
$custom: #802b78;
$custom-light: #a86b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#802b78",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 305.647,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44447,
    "c": 0.14986,
    "h": 331.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#802B78
secondary
#58AE60
accent
#D95C4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802B78

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

Preview Lab → · Contrast checker → · Palette generator →

#802B78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva