#802579#802579

#802579 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.159 H 331.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#802579
RGBrgb(128, 37, 121)
HSLhsl(305, 55%, 32%)
HSVhsv(305, 71%, 50%)
CMYKcmyk(0%, 71.1%, 5.5%, 49.8%)
CIE-LABlab(32.47, 48.81, -27.82)
CIE-LCHlch(32.47, 56.18, 330.32°)
OKLaboklab(43.86% 0.1392 -0.0765)
OKLCHoklch(43.86% 0.159 331.2)
XYZxyz(13.0148, 7.2938, 18.8078)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802579 #25802C
analogous
#592580 #802579 #80254C
triadic
#802579 #798025 #257980
tetradic
#802579 #805925 #25802C #254C80
square
#802579 #805925 #25802C #254C80
split-complementary
#802579 #4C8025 #258059
monochromatic
#210A1F #51174C #802579 #AF33A6 #CD52C4

Accessibility & contrast

On white

8.54
#802579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#802579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802579
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802579#FFFFFF#000000##FFFFFF
##8025791.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#852F4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802579;
/* rgb */ color: rgb(128, 37, 121);
/* oklch */ color: oklch(43.9% 0.159 331.2);
Tailwind
colors: {
  custom: {
    50: '#a868a0',
    500: '#802579',
    950: '#000000',
  },
}
SCSS
$custom: #802579;
$custom-light: #a868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802579",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 304.615,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.15884,
    "h": 331.2
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#802579
secondary
#50B157
accent
#DE5549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802579

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

Preview Lab → · Contrast checker → · Palette generator →

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