#822181#822181

#822181 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.171 H 328.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#822181
RGBrgb(130, 33, 129)
HSLhsl(301, 60%, 32%)
HSVhsv(301, 75%, 51%)
CMYKcmyk(0%, 74.6%, 0.8%, 49%)
CIE-LABlab(32.74, 52.13, -32.38)
CIE-LCHlch(32.74, 61.37, 328.16°)
OKLaboklab(44.28% 0.1459 -0.0896)
OKLCHoklch(44.28% 0.171 328.4)
XYZxyz(13.7121, 7.4195, 21.4745)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822181 #218222
analogous
#532182 #822181 #822150
triadic
#822181 #818221 #218182
tetradic
#822181 #825321 #218222 #215082
square
#822181 #825321 #218222 #215082
split-complementary
#822181 #508221 #218253
monochromatic
#200820 #511551 #822181 #B32DB1 #D24CD0

Accessibility & contrast

On white

8.45
#822181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#822181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822181
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822181#FFFFFF#000000##FFFFFF
##8221811.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104584
Deuteranopia (green-blind)
#3C517F
Tritanopia (blue-blind)
#86304F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #822181;
/* rgb */ color: rgb(130, 33, 129);
/* oklch */ color: oklch(44.3% 0.171 328.4);
Tailwind
colors: {
  custom: {
    50: '#aa67a6',
    500: '#822181',
    950: '#000000',
  },
}
SCSS
$custom: #822181;
$custom-light: #aa67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#822181",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 300.619,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.17127,
    "h": 328.4
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#822181
secondary
#4AB44B
accent
#E34745
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822181

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

Preview Lab → · Contrast checker → · Palette generator →

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