#822381#822381

#822381 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.169 H 328.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#822381
RGBrgb(130, 35, 129)
HSLhsl(301, 58%, 32%)
HSVhsv(301, 73%, 51%)
CMYKcmyk(0%, 73.1%, 0.8%, 49%)
CIE-LABlab(32.99, 51.42, -31.98)
CIE-LCHlch(32.99, 60.56, 328.12°)
OKLaboklab(44.46% 0.1439 -0.0885)
OKLCHoklch(44.46% 0.169 328.4)
XYZxyz(13.7692, 7.5339, 21.4936)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822381 #238224
analogous
#542382 #822381 #822351
triadic
#822381 #818223 #238182
tetradic
#822381 #825423 #238224 #235182
square
#822381 #825423 #238224 #235182
split-complementary
#822381 #518223 #238254
monochromatic
#220921 #521651 #822381 #B230B1 #D050CE

Accessibility & contrast

On white

8.38
#822381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#822381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822381
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822381#FFFFFF#000000##FFFFFF
##8223811.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#863150
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822381;
/* rgb */ color: rgb(130, 35, 129);
/* oklch */ color: oklch(44.5% 0.169 328.4);
Tailwind
colors: {
  custom: {
    50: '#aa68a6',
    500: '#822381',
    950: '#000000',
  },
}
SCSS
$custom: #822381;
$custom-light: #aa68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#822381",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 300.632,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.16895,
    "h": 328.4
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#822381
secondary
#4DB34E
accent
#E14947
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822381

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

Preview Lab → · Contrast checker → · Palette generator →

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