#802082#802082

#802082 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.172 H 327.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#802082
RGBrgb(128, 32, 130)
HSLhsl(299, 60%, 32%)
HSVhsv(299, 75%, 51%)
CMYKcmyk(1.5%, 75.4%, 0%, 49%)
CIE-LABlab(32.34, 52.20, -33.67)
CIE-LCHlch(32.34, 62.11, 327.17°)
OKLaboklab(43.94% 0.1446 -0.0934)
OKLCHoklch(43.94% 0.172 327.1)
XYZxyz(13.4477, 7.2349, 21.8029)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802082 #228220
analogous
#4F2082 #802082 #822053
triadic
#802082 #828020 #208280
tetradic
#802082 #824F20 #228220 #205382
square
#802082 #824F20 #228220 #205382
split-complementary
#802082 #538220 #20824F
monochromatic
#1F0820 #501451 #802082 #B02CB3 #D04AD2

Accessibility & contrast

On white

8.58
#802082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#802082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802082
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802082#FFFFFF#000000##FFFFFF
##8020821.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#84304F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802082;
/* rgb */ color: rgb(128, 32, 130);
/* oklch */ color: oklch(43.9% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#a866a7',
    500: '#802082',
    950: '#000000',
  },
}
SCSS
$custom: #802082;
$custom-light: #a866a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802082",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 298.776,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.17219,
    "h": 327.1
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#802082
secondary
#4BB549
accent
#E44447
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #802082

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

Preview Lab → · Contrast checker → · Palette generator →

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