#802880#802880

#802880 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 327.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#802880
RGBrgb(128, 40, 128)
HSLhsl(300, 52%, 33%)
HSVhsv(300, 69%, 50%)
CMYKcmyk(0%, 68.8%, 0%, 49.8%)
CIE-LABlab(33.28, 48.84, -30.93)
CIE-LCHlch(33.28, 57.81, 327.66°)
OKLaboklab(44.58% 0.1362 -0.0855)
OKLCHoklch(44.58% 0.161 327.9)
XYZxyz(13.5570, 7.6662, 21.1836)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802880 #288028
analogous
#542880 #802880 #802854
triadic
#802880 #808028 #288080
tetradic
#802880 #805428 #288028 #285480
square
#802880 #805428 #288028 #285480
split-complementary
#802880 #548028 #288054
monochromatic
#230B23 #511951 #802880 #AF37AF #CB58CB

Accessibility & contrast

On white

8.29
#802880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802880#FFFFFF#000000##FFFFFF
##8028801.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)
#1B4783
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#843451
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802880;
/* rgb */ color: rgb(128, 40, 128);
/* oklch */ color: oklch(44.6% 0.161 327.9);
Tailwind
colors: {
  custom: {
    50: '#a86aa5',
    500: '#802880',
    950: '#000000',
  },
}
SCSS
$custom: #802880;
$custom-light: #a86aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#802880",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.16079,
    "h": 327.9
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#802880
secondary
#54B054
accent
#DC4C4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802880

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

Preview Lab → · Contrast checker → · Palette generator →

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