#802780#802780

#802780 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.162 H 327.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#802780
RGBrgb(128, 39, 128)
HSLhsl(300, 53%, 33%)
HSVhsv(300, 70%, 50%)
CMYKcmyk(0%, 69.5%, 0%, 49.8%)
CIE-LABlab(33.13, 49.24, -31.15)
CIE-LCHlch(33.13, 58.27, 327.68°)
OKLaboklab(44.47% 0.1373 -0.0862)
OKLCHoklch(44.47% 0.162 327.9)
XYZxyz(13.5237, 7.5997, 21.1725)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802780 #278027
analogous
#532780 #802780 #802753
triadic
#802780 #808027 #278080
tetradic
#802780 #805327 #278027 #275380
square
#802780 #805327 #278027 #275380
split-complementary
#802780 #538027 #278053
monochromatic
#220A22 #511951 #802780 #AF35AF #CB56CB

Accessibility & contrast

On white

8.33
#802780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#802780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802780
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802780#FFFFFF#000000##FFFFFF
##8027801.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194683
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#843450
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802780;
/* rgb */ color: rgb(128, 39, 128);
/* oklch */ color: oklch(44.5% 0.162 327.9);
Tailwind
colors: {
  custom: {
    50: '#a869a5',
    500: '#802780',
    950: '#000000',
  },
}
SCSS
$custom: #802780;
$custom-light: #a869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#802780",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44473,
    "c": 0.1621,
    "h": 327.9
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#802780
secondary
#53B053
accent
#DD4B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802780

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

Preview Lab → · Contrast checker → · Palette generator →

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