#802073#802073

#802073 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 334.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#802073
RGBrgb(128, 32, 115)
HSLhsl(308, 60%, 31%)
HSVhsv(308, 75%, 50%)
CMYKcmyk(0%, 75%, 10.2%, 49.8%)
CIE-LABlab(31.49, 49.67, -25.57)
CIE-LCHlch(31.49, 55.86, 332.76°)
OKLaboklab(43.06% 0.1442 -0.07)
OKLCHoklch(43.06% 0.16 334.1)
XYZxyz(12.5132, 6.8611, 16.8816)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802073 #20802D
analogous
#5D2080 #802073 #802043
triadic
#802073 #738020 #207380
tetradic
#802073 #805D20 #20802D #204380
square
#802073 #805D20 #20802D #204380
split-complementary
#802073 #438020 #20805D
monochromatic
#1E081B #4F1447 #802073 #B12C9F #D149BF

Accessibility & contrast

On white

8.85
#802073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802073
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802073#FFFFFF#000000##FFFFFF
##8020731.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#862947
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802073;
/* rgb */ color: rgb(128, 32, 115);
/* oklch */ color: oklch(43.1% 0.160 334.1);
Tailwind
colors: {
  custom: {
    50: '#a8669b',
    500: '#802073',
    950: '#000000',
  },
}
SCSS
$custom: #802073;
$custom-light: #a8669b;
$custom-dark: #000000;
JSON
{
  "hex": "#802073",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 308.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.16026,
    "h": 334.1
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#802073
secondary
#49B357
accent
#E35A45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802073

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

Preview Lab → · Contrast checker → · Palette generator →

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