#802F76#802F76

#802F76 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.142 H 332.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#802F76
RGBrgb(128, 47, 118)
HSLhsl(307, 46%, 34%)
HSVhsv(307, 63%, 50%)
CMYKcmyk(0%, 63.3%, 7.8%, 49.8%)
CIE-LABlab(33.84, 44.03, -23.78)
CIE-LCHlch(33.84, 50.04, 331.63°)
OKLaboklab(44.81% 0.1266 -0.065)
OKLCHoklch(44.81% 0.142 332.8)
XYZxyz(13.1886, 7.9312, 17.9723)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F76 #2F8039
analogous
#622F80 #802F76 #802F4E
triadic
#802F76 #76802F #2F7680
tetradic
#802F76 #80622F #2F8039 #2F4E80
square
#802F76 #80622F #2F8039 #2F4E80
split-complementary
#802F76 #4E802F #2F8062
monochromatic
#260E23 #531F4D #802F76 #AD3F9F #C663BA

Accessibility & contrast

On white

8.12
#802F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#802F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F76
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F76#FFFFFF#000000##FFFFFF
##802F761.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#85364E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802f76;
/* rgb */ color: rgb(128, 47, 118);
/* oklch */ color: oklch(44.8% 0.142 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76d9d',
    500: '#802f76',
    950: '#000000',
  },
}
SCSS
$custom: #802f76;
$custom-light: #a76d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#802f76",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 307.407,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.14227,
    "h": 332.8
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#802F76
secondary
#5EAD68
accent
#D66252
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F76

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

Preview Lab → · Contrast checker → · Palette generator →

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