#802580#802580

#802580 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.165 H 327.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#802580
RGBrgb(128, 37, 128)
HSLhsl(300, 55%, 32%)
HSVhsv(300, 71%, 50%)
CMYKcmyk(0%, 71.1%, 0%, 49.8%)
CIE-LABlab(32.86, 50.02, -31.59)
CIE-LCHlch(32.86, 59.16, 327.73°)
OKLaboklab(44.27% 0.1395 -0.0874)
OKLCHoklch(44.27% 0.165 327.9)
XYZxyz(13.4598, 7.4718, 21.1512)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802580 #258025
analogous
#532580 #802580 #802553
triadic
#802580 #808025 #258080
tetradic
#802580 #805325 #258025 #255380
square
#802580 #805325 #258025 #255380
split-complementary
#802580 #538025 #258053
monochromatic
#210A21 #511751 #802580 #AF33AF #CD52CD

Accessibility & contrast

On white

8.42
#802580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802580
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802580#FFFFFF#000000##FFFFFF
##8025801.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#3D517E
Tritanopia (blue-blind)
#843250
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802580;
/* rgb */ color: rgb(128, 37, 128);
/* oklch */ color: oklch(44.3% 0.165 327.9);
Tailwind
colors: {
  custom: {
    50: '#a869a5',
    500: '#802580',
    950: '#000000',
  },
}
SCSS
$custom: #802580;
$custom-light: #a869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#802580",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.16464,
    "h": 327.9
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#802580
secondary
#50B150
accent
#DE4949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802580

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

Preview Lab → · Contrast checker → · Palette generator →

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