#802A77#802A77

#802A77 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.150 H 332.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#802A77
RGBrgb(128, 42, 119)
HSLhsl(306, 51%, 33%)
HSVhsv(306, 67%, 50%)
CMYKcmyk(0%, 67.2%, 7%, 49.8%)
CIE-LABlab(33.09, 46.42, -25.58)
CIE-LCHlch(33.09, 53.01, 331.14°)
OKLaboklab(44.28% 0.1331 -0.0701)
OKLCHoklch(44.28% 0.15 332.2)
XYZxyz(13.0598, 7.5780, 18.2240)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A77 #2A8033
analogous
#5E2A80 #802A77 #802A4C
triadic
#802A77 #77802A #2A7780
tetradic
#802A77 #805E2A #2A8033 #2A4C80
square
#802A77 #805E2A #2A8033 #2A4C80
split-complementary
#802A77 #4C802A #2A805E
monochromatic
#240C21 #521B4C #802A77 #AE39A2 #C95BBE

Accessibility & contrast

On white

8.35
#802A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#802A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A77
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A77#FFFFFF#000000##FFFFFF
##802A771.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#445275
Tritanopia (blue-blind)
#85324C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802a77;
/* rgb */ color: rgb(128, 42, 119);
/* oklch */ color: oklch(44.3% 0.150 332.2);
Tailwind
colors: {
  custom: {
    50: '#a86b9e',
    500: '#802a77',
    950: '#000000',
  },
}
SCSS
$custom: #802a77;
$custom-light: #a86b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802a77",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 306.279,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.15045,
    "h": 332.2
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#802A77
secondary
#57AF60
accent
#DA5C4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802A77

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

Preview Lab → · Contrast checker → · Palette generator →

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