#802D77#802D77

#802D77 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.146 H 332.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#802D77
RGBrgb(128, 45, 119)
HSLhsl(307, 48%, 34%)
HSVhsv(307, 65%, 50%)
CMYKcmyk(0%, 64.8%, 7%, 49.8%)
CIE-LABlab(33.56, 45.11, -24.84)
CIE-LCHlch(33.56, 51.50, 331.16°)
OKLaboklab(44.62% 0.1293 -0.068)
OKLCHoklch(44.62% 0.146 332.3)
XYZxyz(13.1702, 7.7989, 18.2609)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D77 #2D8036
analogous
#602D80 #802D77 #802D4E
triadic
#802D77 #77802D #2D7780
tetradic
#802D77 #80602D #2D8036 #2D4E80
square
#802D77 #80602D #2D8036 #2D4E80
split-complementary
#802D77 #4E802D #2D8060
monochromatic
#250D23 #531D4D #802D77 #AD3DA1 #C760BC

Accessibility & contrast

On white

8.20
#802D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D77
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D77#FFFFFF#000000##FFFFFF
##802D771.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4779
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#85344E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802d77;
/* rgb */ color: rgb(128, 45, 119);
/* oklch */ color: oklch(44.6% 0.146 332.3);
Tailwind
colors: {
  custom: {
    50: '#a76c9e',
    500: '#802d77',
    950: '#000000',
  },
}
SCSS
$custom: #802d77;
$custom-light: #a76c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802d77",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 306.506,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.14611,
    "h": 332.3
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#802D77
secondary
#5BAE64
accent
#D85F50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D77

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

Preview Lab → · Contrast checker → · Palette generator →

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