#802C7A#802C7A

#802C7A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.150 H 330.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#802C7A
RGBrgb(128, 44, 122)
HSLhsl(304, 49%, 34%)
HSVhsv(304, 66%, 50%)
CMYKcmyk(0%, 65.6%, 4.7%, 49.8%)
CIE-LABlab(33.56, 46.08, -26.74)
CIE-LCHlch(33.56, 53.27, 329.88°)
OKLaboklab(44.67% 0.1309 -0.0735)
OKLCHoklch(44.67% 0.15 330.7)
XYZxyz(13.3156, 7.7967, 19.2122)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C7A #2C8032
analogous
#5C2C80 #802C7A #802C50
triadic
#802C7A #7A802C #2C7A80
tetradic
#802C7A #805C2C #2C8032 #2C5080
square
#802C7A #805C2C #2C8032 #2C5080
split-complementary
#802C7A #50802C #2C805C
monochromatic
#250D23 #521C4F #802C7A #AE3CA5 #C85FC0

Accessibility & contrast

On white

8.21
#802C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C7A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C7A#FFFFFF#000000##FFFFFF
##802C7A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#85354F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802c7a;
/* rgb */ color: rgb(128, 44, 122);
/* oklch */ color: oklch(44.7% 0.150 330.7);
Tailwind
colors: {
  custom: {
    50: '#a86ca1',
    500: '#802c7a',
    950: '#000000',
  },
}
SCSS
$custom: #802c7a;
$custom-light: #a86ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#802c7a",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 304.286,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.15012,
    "h": 330.7
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#802C7A
secondary
#5AAE60
accent
#D8594F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #802C7A

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

Preview Lab → · Contrast checker → · Palette generator →

#802C7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva