#82227F#82227F

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

Color values

HEX#82227F
RGBrgb(130, 34, 127)
HSLhsl(302, 59%, 32%)
HSVhsv(302, 74%, 51%)
CMYKcmyk(0%, 73.8%, 2.3%, 49%)
CIE-LABlab(32.75, 51.44, -31.11)
CIE-LCHlch(32.75, 60.12, 328.83°)
OKLaboklab(44.25% 0.1449 -0.086)
OKLCHoklch(44.25% 0.168 329.3)
XYZxyz(13.6086, 7.4232, 20.7906)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82227F #228225
analogous
#552282 #82227F #82224F
triadic
#82227F #7F8222 #227F82
tetradic
#82227F #825522 #228225 #224F82
square
#82227F #825522 #228225 #224F82
split-complementary
#82227F #4F8222 #228255
monochromatic
#210920 #511550 #82227F #B32FAE #D14ECD

Accessibility & contrast

On white

8.45
#82227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##82227F#FFFFFF#000000##FFFFFF
##82227F1.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)
#154582
Deuteranopia (green-blind)
#3D527D
Tritanopia (blue-blind)
#872F4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82227f;
/* rgb */ color: rgb(130, 34, 127);
/* oklch */ color: oklch(44.2% 0.168 329.3);
Tailwind
colors: {
  custom: {
    50: '#aa67a4',
    500: '#82227f',
    950: '#000000',
  },
}
SCSS
$custom: #82227f;
$custom-light: #aa67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82227f",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 301.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.16849,
    "h": 329.3
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#82227F
secondary
#4CB44F
accent
#E24B46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82227F

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

Preview Lab → · Contrast checker → · Palette generator →

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