#802C79#802C79

#802C79 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.149 H 331.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#802C79
RGBrgb(128, 44, 121)
HSLhsl(305, 49%, 34%)
HSVhsv(305, 66%, 50%)
CMYKcmyk(0%, 65.6%, 5.5%, 49.8%)
CIE-LABlab(33.50, 45.90, -26.19)
CIE-LCHlch(33.50, 52.85, 330.29°)
OKLaboklab(44.62% 0.1308 -0.0719)
OKLCHoklch(44.62% 0.149 331.2)
XYZxyz(13.2539, 7.7720, 18.8875)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C79 #2C8033
analogous
#5D2C80 #802C79 #802C4F
triadic
#802C79 #79802C #2C7980
tetradic
#802C79 #805D2C #2C8033 #2C4F80
square
#802C79 #805D2C #2C8033 #2C4F80
split-complementary
#802C79 #4F802C #2C805D
monochromatic
#250D23 #521C4E #802C79 #AE3CA4 #C85FBF

Accessibility & contrast

On white

8.22
#802C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#802C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C79
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C79#FFFFFF#000000##FFFFFF
##802C791.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#85344E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802c79;
/* rgb */ color: rgb(128, 44, 121);
/* oklch */ color: oklch(44.6% 0.149 331.2);
Tailwind
colors: {
  custom: {
    50: '#a86ca0',
    500: '#802c79',
    950: '#000000',
  },
}
SCSS
$custom: #802c79;
$custom-light: #a86ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#802c79",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 305,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.14927,
    "h": 331.2
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#802C79
secondary
#5AAE61
accent
#D85B4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802C79

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

Preview Lab → · Contrast checker → · Palette generator →

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