#802D79#802D79

#802D79 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.148 H 331.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#802D79
RGBrgb(128, 45, 121)
HSLhsl(305, 48%, 34%)
HSVhsv(305, 65%, 50%)
CMYKcmyk(0%, 64.8%, 5.5%, 49.8%)
CIE-LABlab(33.66, 45.46, -25.94)
CIE-LCHlch(33.66, 52.34, 330.29°)
OKLaboklab(44.73% 0.1295 -0.0712)
OKLCHoklch(44.73% 0.148 331.2)
XYZxyz(13.2916, 7.8474, 18.9001)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D79 #2D8034
analogous
#5E2D80 #802D79 #802D50
triadic
#802D79 #79802D #2D7980
tetradic
#802D79 #805E2D #2D8034 #2D5080
square
#802D79 #805E2D #2D8034 #2D5080
split-complementary
#802D79 #50802D #2D805E
monochromatic
#250D23 #531D4E #802D79 #AD3DA4 #C760BE

Accessibility & contrast

On white

8.17
#802D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D79
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D79#FFFFFF#000000##FFFFFF
##802D791.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#85354F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802d79;
/* rgb */ color: rgb(128, 45, 121);
/* oklch */ color: oklch(44.7% 0.148 331.2);
Tailwind
colors: {
  custom: {
    50: '#a76ca0',
    500: '#802d79',
    950: '#000000',
  },
}
SCSS
$custom: #802d79;
$custom-light: #a76ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#802d79",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 305.06,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.1478,
    "h": 331.2
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#802D79
secondary
#5BAE62
accent
#D85C50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D79

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

Preview Lab → · Contrast checker → · Palette generator →

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