#802471#802471

#802471 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 335.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#802471
RGBrgb(128, 36, 113)
HSLhsl(310, 56%, 32%)
HSVhsv(310, 72%, 50%)
CMYKcmyk(0%, 71.9%, 11.7%, 49.8%)
CIE-LABlab(31.91, 47.86, -23.64)
CIE-LCHlch(31.91, 53.38, 333.72°)
OKLaboklab(43.32% 0.1396 -0.0645)
OKLCHoklch(43.32% 0.154 335.2)
XYZxyz(12.5137, 7.0443, 16.3202)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802471 #248033
analogous
#612480 #802471 #802443
triadic
#802471 #718024 #247180
tetradic
#802471 #806124 #248033 #244380
square
#802471 #806124 #248033 #244380
split-complementary
#802471 #438024 #248061
monochromatic
#20091D #501747 #802471 #B0319B #CE50B9

Accessibility & contrast

On white

8.72
#802471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802471
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802471#FFFFFF#000000##FFFFFF
##8024711.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#862B47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802471;
/* rgb */ color: rgb(128, 36, 113);
/* oklch */ color: oklch(43.3% 0.154 335.2);
Tailwind
colors: {
  custom: {
    50: '#a8689a',
    500: '#802471',
    950: '#000000',
  },
}
SCSS
$custom: #802471;
$custom-light: #a8689a;
$custom-dark: #000000;
JSON
{
  "hex": "#802471",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 309.783,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.15379,
    "h": 335.2
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#802471
secondary
#4EB25E
accent
#DF6148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802471

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

Preview Lab → · Contrast checker → · Palette generator →

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