#821578#821578

#821578 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 332.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#821578
RGBrgb(130, 21, 120)
HSLhsl(306, 72%, 30%)
HSVhsv(306, 84%, 51%)
CMYKcmyk(0%, 83.8%, 7.7%, 49%)
CIE-LABlab(30.97, 54.25, -29.53)
CIE-LCHlch(30.97, 61.77, 331.44°)
OKLaboklab(42.84% 0.1563 -0.0813)
OKLCHoklch(42.84% 0.176 332.5)
XYZxyz(12.8643, 6.6393, 18.3697)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821578 #15821F
analogous
#561582 #821578 #821541
triadic
#821578 #788215 #157882
tetradic
#821578 #825615 #15821F #154182
square
#821578 #825615 #15821F #154182
split-complementary
#821578 #418215 #158256
monochromatic
#1A0418 #4D0C47 #821578 #B71EA9 #DE33CE

Accessibility & contrast

On white

9.02
#821578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#821578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821578
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821578#FFFFFF#000000##FFFFFF
##8215781.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7B
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#882347
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821578;
/* rgb */ color: rgb(130, 21, 120);
/* oklch */ color: oklch(42.8% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#aa629f',
    500: '#821578',
    950: '#000000',
  },
}
SCSS
$custom: #821578;
$custom-light: #aa629f;
$custom-dark: #000000;
JSON
{
  "hex": "#821578",
  "rgb": {
    "r": 130,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 305.505,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.17614,
    "h": 332.5
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#821578
secondary
#3CB747
accent
#EF4A39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821578

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

Preview Lab → · Contrast checker → · Palette generator →

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