#802474#802474

#802474 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.156 H 333.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#802474
RGBrgb(128, 36, 116)
HSLhsl(308, 56%, 32%)
HSVhsv(308, 72%, 50%)
CMYKcmyk(0%, 71.9%, 9.4%, 49.8%)
CIE-LABlab(32.06, 48.35, -25.30)
CIE-LCHlch(32.06, 54.57, 332.38°)
OKLaboklab(43.49% 0.1399 -0.0693)
OKLCHoklch(43.49% 0.156 333.7)
XYZxyz(12.6854, 7.1130, 17.2244)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802474 #248030
analogous
#5E2480 #802474 #802446
triadic
#802474 #748024 #247480
tetradic
#802474 #805E24 #248030 #244680
square
#802474 #805E24 #248030 #244680
split-complementary
#802474 #468024 #24805E
monochromatic
#20091D #501749 #802474 #B0319F #CE50BE

Accessibility & contrast

On white

8.67
#802474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#802474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802474
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802474#FFFFFF#000000##FFFFFF
##8024741.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#862C49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802474;
/* rgb */ color: rgb(128, 36, 116);
/* oklch */ color: oklch(43.5% 0.156 333.7);
Tailwind
colors: {
  custom: {
    50: '#a8689c',
    500: '#802474',
    950: '#000000',
  },
}
SCSS
$custom: #802474;
$custom-light: #a8689c;
$custom-dark: #000000;
JSON
{
  "hex": "#802474",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 307.826,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.15612,
    "h": 333.7
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#802474
secondary
#4EB25B
accent
#DF5C48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802474

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

Preview Lab → · Contrast checker → · Palette generator →

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