#802F77#802F77

#802F77 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.143 H 332.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#802F77
RGBrgb(128, 47, 119)
HSLhsl(307, 46%, 34%)
HSVhsv(307, 63%, 50%)
CMYKcmyk(0%, 63.3%, 7%, 49.8%)
CIE-LABlab(33.89, 44.21, -24.33)
CIE-LCHlch(33.89, 50.46, 331.17°)
OKLaboklab(44.86% 0.1267 -0.0666)
OKLCHoklch(44.86% 0.143 332.3)
XYZxyz(13.2484, 7.9551, 18.2869)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F77 #2F8038
analogous
#612F80 #802F77 #802F4F
triadic
#802F77 #77802F #2F7780
tetradic
#802F77 #80612F #2F8038 #2F4F80
square
#802F77 #80612F #2F8038 #2F4F80
split-complementary
#802F77 #4F802F #2F8061
monochromatic
#260E24 #531F4D #802F77 #AD3FA1 #C663BB

Accessibility & contrast

On white

8.11
#802F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802F77
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F77#FFFFFF#000000##FFFFFF
##802F771.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802f77;
/* rgb */ color: rgb(128, 47, 119);
/* oklch */ color: oklch(44.9% 0.143 332.3);
Tailwind
colors: {
  custom: {
    50: '#a76d9e',
    500: '#802f77',
    950: '#000000',
  },
}
SCSS
$custom: #802f77;
$custom-light: #a76d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802f77",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 306.667,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.14311,
    "h": 332.3
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#802F77
secondary
#5EAD67
accent
#D66152
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F77

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

Preview Lab → · Contrast checker → · Palette generator →

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