#802F79#802F79

#802F79 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.145 H 331.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#802F79
RGBrgb(128, 47, 121)
HSLhsl(305, 46%, 34%)
HSVhsv(305, 63%, 50%)
CMYKcmyk(0%, 63.3%, 5.5%, 49.8%)
CIE-LABlab(33.99, 44.56, -25.43)
CIE-LCHlch(33.99, 51.30, 330.29°)
OKLaboklab(44.97% 0.1269 -0.0697)
OKLCHoklch(44.97% 0.145 331.2)
XYZxyz(13.3697, 8.0037, 18.9261)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F79 #2F8036
analogous
#5F2F80 #802F79 #802F51
triadic
#802F79 #79802F #2F7980
tetradic
#802F79 #805F2F #2F8036 #2F5180
square
#802F79 #805F2F #2F8036 #2F5180
split-complementary
#802F79 #51802F #2F805F
monochromatic
#260E24 #531F4F #802F79 #AD3FA3 #C663BD

Accessibility & contrast

On white

8.08
#802F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#802F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F79
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F79#FFFFFF#000000##FFFFFF
##802F791.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497B
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#85374F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802f79;
/* rgb */ color: rgb(128, 47, 121);
/* oklch */ color: oklch(45.0% 0.145 331.2);
Tailwind
colors: {
  custom: {
    50: '#a76da0',
    500: '#802f79',
    950: '#000000',
  },
}
SCSS
$custom: #802f79;
$custom-light: #a76da0;
$custom-dark: #000000;
JSON
{
  "hex": "#802f79",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 305.185,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.14483,
    "h": 331.2
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#802F79
secondary
#5EAD65
accent
#D65D52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F79

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

Preview Lab → · Contrast checker → · Palette generator →

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