#821971#821971

#821971 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.167 H 335.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#821971
RGBrgb(130, 25, 113)
HSLhsl(310, 68%, 30%)
HSVhsv(310, 81%, 51%)
CMYKcmyk(0%, 80.8%, 13.1%, 49%)
CIE-LABlab(30.96, 52.09, -25.10)
CIE-LCHlch(30.96, 57.82, 334.27°)
OKLaboklab(42.71% 0.1528 -0.0685)
OKLCHoklch(42.71% 0.167 335.8)
XYZxyz(12.5344, 6.6345, 16.2400)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821971 #19822A
analogous
#5E1982 #821971 #82193D
triadic
#821971 #718219 #197182
tetradic
#821971 #825E19 #19822A #193D82
square
#821971 #825E19 #19822A #193D82
split-complementary
#821971 #3D8219 #19825E
monochromatic
#1B0518 #4F0F44 #821971 #B5239E #D93CC0

Accessibility & contrast

On white

9.03
#821971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821971
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821971#FFFFFF#000000##FFFFFF
##8219711.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#892244
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821971;
/* rgb */ color: rgb(130, 25, 113);
/* oklch */ color: oklch(42.7% 0.167 335.8);
Tailwind
colors: {
  custom: {
    50: '#aa639a',
    500: '#821971',
    950: '#000000',
  },
}
SCSS
$custom: #821971;
$custom-light: #aa639a;
$custom-dark: #000000;
JSON
{
  "hex": "#821971",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 309.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.16745,
    "h": 335.8
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#821971
secondary
#41B654
accent
#EB593D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821971

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

Preview Lab → · Contrast checker → · Palette generator →

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