#802373#802373

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

Color values

HEX#802373
RGBrgb(128, 35, 115)
HSLhsl(308, 57%, 32%)
HSVhsv(308, 73%, 50%)
CMYKcmyk(0%, 72.7%, 10.2%, 49.8%)
CIE-LABlab(31.88, 48.57, -24.96)
CIE-LCHlch(31.88, 54.61, 332.80°)
OKLaboklab(43.34% 0.1409 -0.0683)
OKLCHoklch(43.34% 0.157 334.2)
XYZxyz(12.5977, 7.0301, 16.9098)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802373 #238030
analogous
#5F2380 #802373 #802345
triadic
#802373 #738023 #237380
tetradic
#802373 #805F23 #238030 #234580
square
#802373 #805F23 #238030 #234580
split-complementary
#802373 #458023 #23805F
monochromatic
#20091D #501648 #802373 #B0309E #CF4FBD

Accessibility & contrast

On white

8.73
#802373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802373
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802373#FFFFFF#000000##FFFFFF
##8023731.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#862B48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802373;
/* rgb */ color: rgb(128, 35, 115);
/* oklch */ color: oklch(43.3% 0.157 334.2);
Tailwind
colors: {
  custom: {
    50: '#a8679b',
    500: '#802373',
    950: '#000000',
  },
}
SCSS
$custom: #802373;
$custom-light: #a8679b;
$custom-dark: #000000;
JSON
{
  "hex": "#802373",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 308.387,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.1566,
    "h": 334.2
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#802373
secondary
#4DB25B
accent
#E05D47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802373

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

Preview Lab → · Contrast checker → · Palette generator →

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