#82197E#82197E

#82197E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.177 H 329.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#82197E
RGBrgb(130, 25, 126)
HSLhsl(302, 68%, 30%)
HSVhsv(302, 81%, 51%)
CMYKcmyk(0%, 80.8%, 3.1%, 49%)
CIE-LABlab(31.69, 54.15, -32.17)
CIE-LCHlch(31.69, 62.99, 329.29°)
OKLaboklab(43.47% 0.1532 -0.089)
OKLCHoklch(43.47% 0.177 329.8)
XYZxyz(13.3194, 6.9485, 20.3743)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82197E #19821D
analogous
#521982 #82197E #821949
triadic
#82197E #7E8219 #197E82
tetradic
#82197E #825219 #19821D #194982
square
#82197E #825219 #19821D #194982
split-complementary
#82197E #498219 #198252
monochromatic
#1B051A #4F0F4C #82197E #B523B0 #D93CD3

Accessibility & contrast

On white

8.79
#82197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#82197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82197E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82197E#FFFFFF#000000##FFFFFF
##82197E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054281
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#87294B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #82197e;
/* rgb */ color: rgb(130, 25, 126);
/* oklch */ color: oklch(43.5% 0.177 329.8);
Tailwind
colors: {
  custom: {
    50: '#aa64a4',
    500: '#82197e',
    950: '#000000',
  },
}
SCSS
$custom: #82197e;
$custom-light: #aa64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82197e",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 302.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.17712,
    "h": 329.8
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#82197E
secondary
#41B645
accent
#EB443D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #82197E

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

Preview Lab → · Contrast checker → · Palette generator →

#82197E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva