#802F73#802F73

#802F73 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.140 H 334.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#802F73
RGBrgb(128, 47, 115)
HSLhsl(310, 46%, 34%)
HSVhsv(310, 63%, 50%)
CMYKcmyk(0%, 63.3%, 10.2%, 49.8%)
CIE-LABlab(33.69, 43.51, -22.12)
CIE-LCHlch(33.69, 48.81, 333.05°)
OKLaboklab(44.66% 0.1261 -0.0603)
OKLCHoklch(44.66% 0.14 334.5)
XYZxyz(13.0132, 7.8610, 17.0483)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F73 #2F803C
analogous
#652F80 #802F73 #802F4B
triadic
#802F73 #73802F #2F7380
tetradic
#802F73 #80652F #2F803C #2F4B80
square
#802F73 #80652F #2F803C #2F4B80
split-complementary
#802F73 #4B802F #2F8065
monochromatic
#260E23 #531F4B #802F73 #AD3F9B #C663B6

Accessibility & contrast

On white

8.16
#802F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802F73
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F73#FFFFFF#000000##FFFFFF
##802F731.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802f73;
/* rgb */ color: rgb(128, 47, 115);
/* oklch */ color: oklch(44.7% 0.140 334.5);
Tailwind
colors: {
  custom: {
    50: '#a76d9b',
    500: '#802f73',
    950: '#000000',
  },
}
SCSS
$custom: #802f73;
$custom-light: #a76d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802f73",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 309.63,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.13976,
    "h": 334.5
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#802F73
secondary
#5EAD6B
accent
#D66752
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F73

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

Preview Lab → · Contrast checker → · Palette generator →

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