#802380#802380

#802380 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.167 H 328.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#802380
RGBrgb(128, 35, 128)
HSLhsl(300, 57%, 32%)
HSVhsv(300, 73%, 50%)
CMYKcmyk(0%, 72.7%, 0%, 49.8%)
CIE-LABlab(32.59, 50.78, -32.01)
CIE-LCHlch(32.59, 60.03, 327.77°)
OKLaboklab(44.08% 0.1416 -0.0886)
OKLCHoklch(44.08% 0.167 328)
XYZxyz(13.3992, 7.3507, 21.1310)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802380 #238023
analogous
#522380 #802380 #802352
triadic
#802380 #808023 #238080
tetradic
#802380 #805223 #238023 #235280
square
#802380 #805223 #238023 #235280
split-complementary
#802380 #528023 #238052
monochromatic
#200920 #501650 #802380 #B030B0 #CF4FCF

Accessibility & contrast

On white

8.50
#802380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802380
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802380#FFFFFF#000000##FFFFFF
##8023801.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134583
Deuteranopia (green-blind)
#3C517E
Tritanopia (blue-blind)
#84314F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802380;
/* rgb */ color: rgb(128, 35, 128);
/* oklch */ color: oklch(44.1% 0.167 328.0);
Tailwind
colors: {
  custom: {
    50: '#a868a5',
    500: '#802380',
    950: '#000000',
  },
}
SCSS
$custom: #802380;
$custom-light: #a868a5;
$custom-dark: #000000;
JSON
{
  "hex": "#802380",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.16708,
    "h": 328
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#802380
secondary
#4DB24D
accent
#E04747
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802380

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

Preview Lab → · Contrast checker → · Palette generator →

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