#821571#821571

#821571 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.171 H 335.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#821571
RGBrgb(130, 21, 113)
HSLhsl(309, 72%, 30%)
HSVhsv(309, 84%, 51%)
CMYKcmyk(0%, 83.8%, 13.1%, 49%)
CIE-LABlab(30.58, 53.18, -25.69)
CIE-LCHlch(30.58, 59.06, 334.21°)
OKLaboklab(42.44% 0.156 -0.0702)
OKLCHoklch(42.44% 0.171 335.8)
XYZxyz(12.4549, 6.4756, 16.2135)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821571 #158226
analogous
#5D1582 #821571 #82153B
triadic
#821571 #718215 #157182
tetradic
#821571 #825D15 #158226 #153B82
square
#821571 #825D15 #158226 #153B82
split-complementary
#821571 #3B8215 #15825D
monochromatic
#1A0417 #4D0C43 #821571 #B71E9F #DE33C3

Accessibility & contrast

On white

9.15
#821571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#821571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821571
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821571#FFFFFF#000000##FFFFFF
##8215711.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#891F43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821571;
/* rgb */ color: rgb(130, 21, 113);
/* oklch */ color: oklch(42.4% 0.171 335.8);
Tailwind
colors: {
  custom: {
    50: '#aa629a',
    500: '#821571',
    950: '#000000',
  },
}
SCSS
$custom: #821571;
$custom-light: #aa629a;
$custom-dark: #000000;
JSON
{
  "hex": "#821571",
  "rgb": {
    "r": 130,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 309.358,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.1711,
    "h": 335.8
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#821571
secondary
#3CB74F
accent
#EF5539
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821571

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

Preview Lab → · Contrast checker → · Palette generator →

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