#821D72#821D72

#821D72 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.164 H 335.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#821D72
RGBrgb(130, 29, 114)
HSLhsl(310, 64%, 31%)
HSVhsv(310, 78%, 51%)
CMYKcmyk(0%, 77.7%, 12.3%, 49%)
CIE-LABlab(31.44, 51.01, -24.98)
CIE-LCHlch(31.44, 56.80, 333.91°)
OKLaboklab(43.07% 0.1492 -0.0682)
OKLCHoklch(43.07% 0.164 335.4)
XYZxyz(12.6827, 6.8406, 16.5687)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D72 #1D822D
analogous
#5F1D82 #821D72 #821D3F
triadic
#821D72 #72821D #1D7282
tetradic
#821D72 #825F1D #1D822D #1D3F82
square
#821D72 #825F1D #1D822D #1D3F82
split-complementary
#821D72 #3F821D #1D825F
monochromatic
#1E071A #501246 #821D72 #B4289E #D544BE

Accessibility & contrast

On white

8.87
#821D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#821D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D72
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D72#FFFFFF#000000##FFFFFF
##821D721.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#892546
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821d72;
/* rgb */ color: rgb(130, 29, 114);
/* oklch */ color: oklch(43.1% 0.164 335.4);
Tailwind
colors: {
  custom: {
    50: '#aa659b',
    500: '#821d72',
    950: '#000000',
  },
}
SCSS
$custom: #821d72;
$custom-light: #aa659b;
$custom-dark: #000000;
JSON
{
  "hex": "#821d72",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 309.505,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.16407,
    "h": 335.4
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#821D72
secondary
#46B557
accent
#E75B41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821D72

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

Preview Lab → · Contrast checker → · Palette generator →

#821D72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva