#802E73#802E73

#802E73 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.141 H 334.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#802E73
RGBrgb(128, 46, 115)
HSLhsl(310, 47%, 34%)
HSVhsv(310, 64%, 50%)
CMYKcmyk(0%, 64.1%, 10.2%, 49.8%)
CIE-LABlab(33.52, 43.97, -22.38)
CIE-LCHlch(33.52, 49.34, 333.03°)
OKLaboklab(44.53% 0.1275 -0.061)
OKLCHoklch(44.53% 0.141 334.4)
XYZxyz(12.9737, 7.7820, 17.0351)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E73 #2E803B
analogous
#642E80 #802E73 #802E4A
triadic
#802E73 #73802E #2E7380
tetradic
#802E73 #80642E #2E803B #2E4A80
square
#802E73 #80642E #2E803B #2E4A80
split-complementary
#802E73 #4A802E #2E8064
monochromatic
#260E22 #531E4B #802E73 #AD3E9B #C762B7

Accessibility & contrast

On white

8.22
#802E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802E73
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E73#FFFFFF#000000##FFFFFF
##802E731.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#86344C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802e73;
/* rgb */ color: rgb(128, 46, 115);
/* oklch */ color: oklch(44.5% 0.141 334.4);
Tailwind
colors: {
  custom: {
    50: '#a76d9b',
    500: '#802e73',
    950: '#000000',
  },
}
SCSS
$custom: #802e73;
$custom-light: #a76d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802e73",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 309.512,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.14129,
    "h": 334.4
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#802E73
secondary
#5DAD69
accent
#D76651
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E73

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

Preview Lab → · Contrast checker → · Palette generator →

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