#802D73#802D73

#802D73 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.143 H 334.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#802D73
RGBrgb(128, 45, 115)
HSLhsl(309, 48%, 34%)
HSVhsv(309, 65%, 50%)
CMYKcmyk(0%, 64.8%, 10.2%, 49.8%)
CIE-LABlab(33.36, 44.43, -22.64)
CIE-LCHlch(33.36, 49.86, 333.00°)
OKLaboklab(44.41% 0.1288 -0.0617)
OKLCHoklch(44.41% 0.143 334.4)
XYZxyz(12.9351, 7.7048, 17.0222)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D73 #2D803A
analogous
#642D80 #802D73 #802D4A
triadic
#802D73 #73802D #2D7380
tetradic
#802D73 #80642D #2D803A #2D4A80
square
#802D73 #80642D #2D803A #2D4A80
split-complementary
#802D73 #4A802D #2D8064
monochromatic
#250D22 #531D4A #802D73 #AD3D9C #C760B7

Accessibility & contrast

On white

8.27
#802D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D73
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D73#FFFFFF#000000##FFFFFF
##802D731.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4775
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#86334B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802d73;
/* rgb */ color: rgb(128, 45, 115);
/* oklch */ color: oklch(44.4% 0.143 334.4);
Tailwind
colors: {
  custom: {
    50: '#a76c9b',
    500: '#802d73',
    950: '#000000',
  },
}
SCSS
$custom: #802d73;
$custom-light: #a76c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802d73",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 309.398,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.14279,
    "h": 334.4
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#802D73
secondary
#5BAE68
accent
#D86550
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D73

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

Preview Lab → · Contrast checker → · Palette generator →

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