#802979#802979

#802979 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.154 H 331.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#802979
RGBrgb(128, 41, 121)
HSLhsl(305, 51%, 33%)
HSVhsv(305, 68%, 50%)
CMYKcmyk(0%, 68%, 5.5%, 49.8%)
CIE-LABlab(33.04, 47.19, -26.92)
CIE-LCHlch(33.04, 54.33, 330.30°)
OKLaboklab(44.28% 0.1345 -0.0739)
OKLCHoklch(44.28% 0.154 331.2)
XYZxyz(13.1462, 7.5565, 18.8516)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802979 #298030
analogous
#5B2980 #802979 #80294D
triadic
#802979 #798029 #297980
tetradic
#802979 #805B29 #298030 #294D80
square
#802979 #805B29 #298030 #294D80
split-complementary
#802979 #4D8029 #29805B
monochromatic
#230B21 #521A4D #802979 #AE38A5 #CA59C1

Accessibility & contrast

On white

8.36
#802979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802979
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802979#FFFFFF#000000##FFFFFF
##8029791.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#85324D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802979;
/* rgb */ color: rgb(128, 41, 121);
/* oklch */ color: oklch(44.3% 0.154 331.2);
Tailwind
colors: {
  custom: {
    50: '#a86aa0',
    500: '#802979',
    950: '#000000',
  },
}
SCSS
$custom: #802979;
$custom-light: #a86aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#802979",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 304.828,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.15352,
    "h": 331.2
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#802979
secondary
#55AF5D
accent
#DB584D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802979

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

Preview Lab → · Contrast checker → · Palette generator →

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