#802C7D#802C7D

#802C7D is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.153 H 329.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#802C7D
RGBrgb(128, 44, 125)
HSLhsl(302, 49%, 34%)
HSVhsv(302, 66%, 50%)
CMYKcmyk(0%, 65.6%, 2.3%, 49.8%)
CIE-LABlab(33.72, 46.61, -28.36)
CIE-LCHlch(33.72, 54.56, 328.68°)
OKLaboklab(44.84% 0.1312 -0.0781)
OKLCHoklch(44.84% 0.153 329.2)
XYZxyz(13.5043, 7.8722, 20.2063)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C7D #2C802F
analogous
#592C80 #802C7D #802C53
triadic
#802C7D #7D802C #2C7D80
tetradic
#802C7D #80592C #2C802F #2C5380
square
#802C7D #80592C #2C802F #2C5380
split-complementary
#802C7D #53802C #2C8059
monochromatic
#250D24 #521C51 #802C7D #AE3CA9 #C85FC4

Accessibility & contrast

On white

8.16
#802C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C7D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C7D#FFFFFF#000000##FFFFFF
##802C7D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#42537B
Tritanopia (blue-blind)
#843650
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802c7d;
/* rgb */ color: rgb(128, 44, 125);
/* oklch */ color: oklch(44.8% 0.153 329.2);
Tailwind
colors: {
  custom: {
    50: '#a86ca3',
    500: '#802c7d',
    950: '#000000',
  },
}
SCSS
$custom: #802c7d;
$custom-light: #a86ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#802c7d",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 302.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.1527,
    "h": 329.2
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#802C7D
secondary
#5AAE5D
accent
#D8544F
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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