#821579#821579

#821579 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.177 H 332.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#821579
RGBrgb(130, 21, 121)
HSLhsl(305, 72%, 30%)
HSVhsv(305, 84%, 51%)
CMYKcmyk(0%, 83.8%, 6.9%, 49%)
CIE-LABlab(31.03, 54.41, -30.07)
CIE-LCHlch(31.03, 62.17, 331.07°)
OKLaboklab(42.9% 0.1563 -0.0828)
OKLCHoklch(42.9% 0.177 332.1)
XYZxyz(12.9253, 6.6637, 18.6909)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821579 #15821E
analogous
#551582 #821579 #821543
triadic
#821579 #798215 #157982
tetradic
#821579 #825515 #15821E #154382
square
#821579 #825515 #15821E #154382
split-complementary
#821579 #438215 #158255
monochromatic
#1A0419 #4D0C48 #821579 #B71EAA #DE33D0

Accessibility & contrast

On white

9.00
#821579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821579
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821579#FFFFFF#000000##FFFFFF
##8215791.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7C
Deuteranopia (green-blind)
#3C4E77
Tritanopia (blue-blind)
#882448
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821579;
/* rgb */ color: rgb(130, 21, 121);
/* oklch */ color: oklch(42.9% 0.177 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa62a0',
    500: '#821579',
    950: '#000000',
  },
}
SCSS
$custom: #821579;
$custom-light: #aa62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821579",
  "rgb": {
    "r": 130,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 304.954,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.17687,
    "h": 332.1
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#821579
secondary
#3CB746
accent
#EF4839
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #821579

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

Preview Lab → · Contrast checker → · Palette generator →

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