#822282#822282

#822282 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 328.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#822282
RGBrgb(130, 34, 130)
HSLhsl(300, 59%, 32%)
HSVhsv(300, 74%, 51%)
CMYKcmyk(0%, 73.8%, 0%, 49%)
CIE-LABlab(32.92, 51.96, -32.71)
CIE-LCHlch(32.92, 61.40, 327.80°)
OKLaboklab(44.43% 0.145 -0.0906)
OKLCHoklch(44.43% 0.171 328)
XYZxyz(13.8070, 7.5026, 21.8357)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822282 #228222
analogous
#522282 #822282 #822252
triadic
#822282 #828222 #228282
tetradic
#822282 #825222 #228222 #225282
square
#822282 #825222 #228222 #225282
split-complementary
#822282 #528222 #228252
monochromatic
#210921 #511551 #822282 #B32FB3 #D14ED1

Accessibility & contrast

On white

8.40
#822282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#822282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822282
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822282#FFFFFF#000000##FFFFFF
##8222821.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#863150
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #822282;
/* rgb */ color: rgb(130, 34, 130);
/* oklch */ color: oklch(44.4% 0.171 328.0);
Tailwind
colors: {
  custom: {
    50: '#aa68a7',
    500: '#822282',
    950: '#000000',
  },
}
SCSS
$custom: #822282;
$custom-light: #aa68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#822282",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 300,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.17094,
    "h": 328
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#822282
secondary
#4CB44C
accent
#E24646
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822282

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

Preview Lab → · Contrast checker → · Palette generator →

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