#802F74#802F74

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

Color values

HEX#802F74
RGBrgb(128, 47, 116)
HSLhsl(309, 46%, 34%)
HSVhsv(309, 63%, 50%)
CMYKcmyk(0%, 63.3%, 9.4%, 49.8%)
CIE-LABlab(33.74, 43.68, -22.68)
CIE-LCHlch(33.74, 49.22, 332.57°)
OKLaboklab(44.71% 0.1263 -0.0618)
OKLCHoklch(44.71% 0.141 333.9)
XYZxyz(13.0710, 7.8842, 17.3530)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F74 #2F803B
analogous
#642F80 #802F74 #802F4C
triadic
#802F74 #74802F #2F7480
tetradic
#802F74 #80642F #2F803B #2F4C80
square
#802F74 #80642F #2F803B #2F4C80
split-complementary
#802F74 #4C802F #2F8064
monochromatic
#260E23 #531F4B #802F74 #AD3F9D #C663B7

Accessibility & contrast

On white

8.15
#802F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F74
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F74#FFFFFF#000000##FFFFFF
##802F741.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#86354D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802f74;
/* rgb */ color: rgb(128, 47, 116);
/* oklch */ color: oklch(44.7% 0.141 333.9);
Tailwind
colors: {
  custom: {
    50: '#a76d9c',
    500: '#802f74',
    950: '#000000',
  },
}
SCSS
$custom: #802f74;
$custom-light: #a76d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#802f74",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 308.889,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.14059,
    "h": 333.9
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#802F74
secondary
#5EAD6A
accent
#D66552
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F74

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

Preview Lab → · Contrast checker → · Palette generator →

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