#802473#802473

#802473 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.155 H 334.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#802473
RGBrgb(128, 36, 115)
HSLhsl(308, 56%, 32%)
HSVhsv(308, 72%, 50%)
CMYKcmyk(0%, 71.9%, 10.2%, 49.8%)
CIE-LABlab(32.01, 48.19, -24.75)
CIE-LCHlch(32.01, 54.17, 332.82°)
OKLaboklab(43.43% 0.1398 -0.0677)
OKLCHoklch(43.43% 0.155 334.2)
XYZxyz(12.6276, 7.0898, 16.9197)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802473 #248031
analogous
#5F2480 #802473 #802445
triadic
#802473 #738024 #247380
tetradic
#802473 #805F24 #248031 #244580
square
#802473 #805F24 #248031 #244580
split-complementary
#802473 #458024 #24805F
monochromatic
#20091D #501748 #802473 #B0319E #CE50BC

Accessibility & contrast

On white

8.69
#802473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802473
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802473#FFFFFF#000000##FFFFFF
##8024731.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224375
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#862C48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802473;
/* rgb */ color: rgb(128, 36, 115);
/* oklch */ color: oklch(43.4% 0.155 334.2);
Tailwind
colors: {
  custom: {
    50: '#a8689b',
    500: '#802473',
    950: '#000000',
  },
}
SCSS
$custom: #802473;
$custom-light: #a8689b;
$custom-dark: #000000;
JSON
{
  "hex": "#802473",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 308.478,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.15533,
    "h": 334.2
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#802473
secondary
#4EB25C
accent
#DF5E48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802473

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

Preview Lab → · Contrast checker → · Palette generator →

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