#802477#802477

#802477 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 332.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#802477
RGBrgb(128, 36, 119)
HSLhsl(306, 56%, 32%)
HSVhsv(306, 72%, 50%)
CMYKcmyk(0%, 71.9%, 7%, 49.8%)
CIE-LABlab(32.22, 48.85, -26.95)
CIE-LCHlch(32.22, 55.79, 331.12°)
OKLaboklab(43.65% 0.1402 -0.074)
OKLCHoklch(43.65% 0.159 332.2)
XYZxyz(12.8628, 7.1839, 18.1584)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802477 #24802D
analogous
#5B2480 #802477 #802449
triadic
#802477 #778024 #247780
tetradic
#802477 #805B24 #24802D #244980
square
#802477 #805B24 #24802D #244980
split-complementary
#802477 #498024 #24805B
monochromatic
#20091E #50174B #802477 #B031A3 #CE50C2

Accessibility & contrast

On white

8.62
#802477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#802477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802477
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802477#FFFFFF#000000##FFFFFF
##8024771.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4379
Deuteranopia (green-blind)
#415075
Tritanopia (blue-blind)
#862D4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802477;
/* rgb */ color: rgb(128, 36, 119);
/* oklch */ color: oklch(43.7% 0.159 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8689e',
    500: '#802477',
    950: '#000000',
  },
}
SCSS
$custom: #802477;
$custom-light: #a8689e;
$custom-dark: #000000;
JSON
{
  "hex": "#802477",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 305.87,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.1585,
    "h": 332.2
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#802477
secondary
#4EB258
accent
#DF5748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802477

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

Preview Lab → · Contrast checker → · Palette generator →

#802477 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva