#821F79#821F79

#821F79 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.167 H 332.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#821F79
RGBrgb(130, 31, 121)
HSLhsl(305, 61%, 32%)
HSVhsv(305, 76%, 51%)
CMYKcmyk(0%, 76.2%, 6.9%, 49%)
CIE-LABlab(32.05, 51.47, -28.45)
CIE-LCHlch(32.05, 58.81, 331.07°)
OKLaboklab(43.63% 0.1477 -0.0783)
OKLCHoklch(43.63% 0.167 332.1)
XYZxyz(13.1471, 7.1074, 18.7649)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F79 #1F8228
analogous
#5A1F82 #821F79 #821F48
triadic
#821F79 #79821F #1F7982
tetradic
#821F79 #825A1F #1F8228 #1F4882
square
#821F79 #825A1F #1F8228 #1F4882
split-complementary
#821F79 #48821F #1F825A
monochromatic
#1F071D #51134B #821F79 #B32BA7 #D348C7

Accessibility & contrast

On white

8.67
#821F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#821F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F79
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F79#FFFFFF#000000##FFFFFF
##821F791.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#882A4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821f79;
/* rgb */ color: rgb(130, 31, 121);
/* oklch */ color: oklch(43.6% 0.167 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa66a0',
    500: '#821f79',
    950: '#000000',
  },
}
SCSS
$custom: #821f79;
$custom-light: #aa66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821f79",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 305.455,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43633,
    "c": 0.16716,
    "h": 332.1
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#821F79
secondary
#48B552
accent
#E55243
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821F79

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

Preview Lab → · Contrast checker → · Palette generator →

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