#802A79#802A79

#802A79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.152 H 331.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#802A79
RGBrgb(128, 42, 121)
HSLhsl(305, 51%, 33%)
HSVhsv(305, 67%, 50%)
CMYKcmyk(0%, 67.2%, 5.5%, 49.8%)
CIE-LABlab(33.19, 46.77, -26.68)
CIE-LCHlch(33.19, 53.84, 330.30°)
OKLaboklab(44.39% 0.1333 -0.0733)
OKLCHoklch(44.39% 0.152 331.2)
XYZxyz(13.1812, 7.6266, 18.8633)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A79 #2A8031
analogous
#5C2A80 #802A79 #802A4E
triadic
#802A79 #79802A #2A7980
tetradic
#802A79 #805C2A #2A8031 #2A4E80
square
#802A79 #805C2A #2A8031 #2A4E80
split-complementary
#802A79 #4E802A #2A805C
monochromatic
#240C22 #521B4D #802A79 #AE39A5 #C95BC0

Accessibility & contrast

On white

8.32
#802A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A79
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A79#FFFFFF#000000##FFFFFF
##802A791.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467B
Deuteranopia (green-blind)
#435277
Tritanopia (blue-blind)
#85334D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802a79;
/* rgb */ color: rgb(128, 42, 121);
/* oklch */ color: oklch(44.4% 0.152 331.2);
Tailwind
colors: {
  custom: {
    50: '#a86ba0',
    500: '#802a79',
    950: '#000000',
  },
}
SCSS
$custom: #802a79;
$custom-light: #a86ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#802a79",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 304.884,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.15212,
    "h": 331.2
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#802A79
secondary
#57AF5E
accent
#DA594E
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802A79

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

Preview Lab → · Contrast checker → · Palette generator →

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