#802179#802179

#802179 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.164 H 331.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#802179
RGBrgb(128, 33, 121)
HSLhsl(304, 59%, 32%)
HSVhsv(304, 74%, 50%)
CMYKcmyk(0%, 74.2%, 5.5%, 49.8%)
CIE-LABlab(31.94, 50.30, -28.65)
CIE-LCHlch(31.94, 57.89, 330.33°)
OKLaboklab(43.49% 0.1435 -0.0789)
OKLCHoklch(43.49% 0.164 331.2)
XYZxyz(12.8971, 7.0584, 18.7686)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802179 #218028
analogous
#582180 #802179 #80214A
triadic
#802179 #798021 #217980
tetradic
#802179 #805821 #218028 #214A80
square
#802179 #805821 #218028 #214A80
split-complementary
#802179 #4A8021 #218058
monochromatic
#1F081D #4F144B #802179 #B12EA7 #D14BC7

Accessibility & contrast

On white

8.71
#802179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802179
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802179#FFFFFF#000000##FFFFFF
##8021791.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#852C4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802179;
/* rgb */ color: rgb(128, 33, 121);
/* oklch */ color: oklch(43.5% 0.164 331.2);
Tailwind
colors: {
  custom: {
    50: '#a866a0',
    500: '#802179',
    950: '#000000',
  },
}
SCSS
$custom: #802179;
$custom-light: #a866a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802179",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 304.421,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.16376,
    "h": 331.2
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#802179
secondary
#4AB352
accent
#E25146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802179

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

Preview Lab → · Contrast checker → · Palette generator →

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