#821972#821972

#821972 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.168 H 335.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#821972
RGBrgb(130, 25, 114)
HSLhsl(309, 68%, 30%)
HSVhsv(309, 81%, 51%)
CMYKcmyk(0%, 80.8%, 12.3%, 49%)
CIE-LABlab(31.01, 52.24, -25.65)
CIE-LCHlch(31.01, 58.20, 333.85°)
OKLaboklab(42.77% 0.1529 -0.0701)
OKLCHoklch(42.77% 0.168 335.4)
XYZxyz(12.5910, 6.6572, 16.5382)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821972 #198229
analogous
#5D1982 #821972 #82193D
triadic
#821972 #728219 #197282
tetradic
#821972 #825D19 #198229 #193D82
square
#821972 #825D19 #198229 #193D82
split-complementary
#821972 #3D8219 #19825D
monochromatic
#1B0518 #4F0F45 #821972 #B5239F #D93CC1

Accessibility & contrast

On white

9.01
#821972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821972
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821972#FFFFFF#000000##FFFFFF
##8219721.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#892245
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821972;
/* rgb */ color: rgb(130, 25, 114);
/* oklch */ color: oklch(42.8% 0.168 335.4);
Tailwind
colors: {
  custom: {
    50: '#aa639b',
    500: '#821972',
    950: '#000000',
  },
}
SCSS
$custom: #821972;
$custom-light: #aa639b;
$custom-dark: #000000;
JSON
{
  "hex": "#821972",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 309.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.16817,
    "h": 335.4
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#821972
secondary
#41B653
accent
#EB583D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821972

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

Preview Lab → · Contrast checker → · Palette generator →

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