#82227E#82227E

#82227E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.168 H 329.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#82227E
RGBrgb(130, 34, 126)
HSLhsl(303, 59%, 32%)
HSVhsv(303, 74%, 51%)
CMYKcmyk(0%, 73.8%, 3.1%, 49%)
CIE-LABlab(32.69, 51.27, -30.58)
CIE-LCHlch(32.69, 59.69, 329.19°)
OKLaboklab(44.19% 0.1449 -0.0844)
OKLCHoklch(44.19% 0.168 329.8)
XYZxyz(13.5438, 7.3973, 20.4491)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82227E #228226
analogous
#562282 #82227E #82224E
triadic
#82227E #7E8222 #227E82
tetradic
#82227E #825622 #228226 #224E82
square
#82227E #825622 #228226 #224E82
split-complementary
#82227E #4E8222 #228256
monochromatic
#210920 #51154F #82227E #B32FAD #D14ECB

Accessibility & contrast

On white

8.47
#82227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#82227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82227E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82227E#FFFFFF#000000##FFFFFF
##82227E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#872F4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82227e;
/* rgb */ color: rgb(130, 34, 126);
/* oklch */ color: oklch(44.2% 0.168 329.8);
Tailwind
colors: {
  custom: {
    50: '#aa67a4',
    500: '#82227e',
    950: '#000000',
  },
}
SCSS
$custom: #82227e;
$custom-light: #aa67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82227e",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 302.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44186,
    "c": 0.16769,
    "h": 329.8
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#82227E
secondary
#4CB450
accent
#E24D46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82227E

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

Preview Lab → · Contrast checker → · Palette generator →

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