#802083#802083

#802083 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.173 H 326.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#802083
RGBrgb(128, 32, 131)
HSLhsl(298, 61%, 32%)
HSVhsv(298, 76%, 51%)
CMYKcmyk(2.3%, 75.6%, 0%, 48.6%)
CIE-LABlab(32.40, 52.37, -34.20)
CIE-LCHlch(32.40, 62.55, 326.86°)
OKLaboklab(44% 0.1446 -0.095)
OKLCHoklch(44% 0.173 326.7)
XYZxyz(13.5151, 7.2618, 22.1582)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802083 #238320
analogous
#4F2083 #802083 #832055
triadic
#802083 #838020 #208380
tetradic
#802083 #834F20 #238320 #205583
square
#802083 #834F20 #238320 #205583
split-complementary
#802083 #558320 #20834F
monochromatic
#200821 #501452 #802083 #B02CB4 #CF4AD3

Accessibility & contrast

On white

8.56
#802083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802083
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802083#FFFFFF#000000##FFFFFF
##8020831.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054486
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#843050
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802083;
/* rgb */ color: rgb(128, 32, 131);
/* oklch */ color: oklch(44.0% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#a867a7',
    500: '#802083',
    950: '#000000',
  },
}
SCSS
$custom: #802083;
$custom-light: #a867a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802083",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 298.182,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44,
    "c": 0.17301,
    "h": 326.7
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#802083
secondary
#4DB649
accent
#E44449
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #802083

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

Preview Lab → · Contrast checker → · Palette generator →

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