#802476#802476

#802476 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.158 H 332.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#802476
RGBrgb(128, 36, 118)
HSLhsl(307, 56%, 32%)
HSVhsv(307, 72%, 50%)
CMYKcmyk(0%, 71.9%, 7.8%, 49.8%)
CIE-LABlab(32.17, 48.68, -26.40)
CIE-LCHlch(32.17, 55.38, 331.53°)
OKLaboklab(43.6% 0.1401 -0.0724)
OKLCHoklch(43.6% 0.158 332.7)
XYZxyz(12.8030, 7.1600, 17.8437)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802476 #24802E
analogous
#5C2480 #802476 #802448
triadic
#802476 #768024 #247680
tetradic
#802476 #805C24 #24802E #244880
square
#802476 #805C24 #24802E #244880
split-complementary
#802476 #488024 #24805C
monochromatic
#20091E #50174A #802476 #B031A2 #CE50C0

Accessibility & contrast

On white

8.64
#802476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#802476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802476
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802476#FFFFFF#000000##FFFFFF
##8024761.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#862D4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802476;
/* rgb */ color: rgb(128, 36, 118);
/* oklch */ color: oklch(43.6% 0.158 332.7);
Tailwind
colors: {
  custom: {
    50: '#a8689e',
    500: '#802476',
    950: '#000000',
  },
}
SCSS
$custom: #802476;
$custom-light: #a8689e;
$custom-dark: #000000;
JSON
{
  "hex": "#802476",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 306.522,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.1577,
    "h": 332.7
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#802476
secondary
#4EB259
accent
#DF5948
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802476

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

Preview Lab → · Contrast checker → · Palette generator →

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