#821979#821979

#821979 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.173 H 332.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#821979
RGBrgb(130, 25, 121)
HSLhsl(305, 68%, 30%)
HSVhsv(305, 81%, 51%)
CMYKcmyk(0%, 80.8%, 6.9%, 49%)
CIE-LABlab(31.40, 53.34, -29.48)
CIE-LCHlch(31.40, 60.94, 331.07°)
OKLaboklab(43.17% 0.1531 -0.0812)
OKLCHoklch(43.17% 0.173 332.1)
XYZxyz(13.0048, 6.8227, 18.7174)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821979 #198222
analogous
#561982 #821979 #821944
triadic
#821979 #798219 #197982
tetradic
#821979 #825619 #198222 #194482
square
#821979 #825619 #198222 #194482
split-complementary
#821979 #448219 #198256
monochromatic
#1B0519 #4F0F49 #821979 #B523A9 #D93CCC

Accessibility & contrast

On white

8.88
#821979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#821979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821979
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821979#FFFFFF#000000##FFFFFF
##8219791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#882649
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821979;
/* rgb */ color: rgb(130, 25, 121);
/* oklch */ color: oklch(43.2% 0.173 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa64a0',
    500: '#821979',
    950: '#000000',
  },
}
SCSS
$custom: #821979;
$custom-light: #aa64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821979",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 305.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.17333,
    "h": 332.1
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#821979
secondary
#41B64B
accent
#EB4C3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #821979

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

Preview Lab → · Contrast checker → · Palette generator →

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