#82228B#82228B

#82228B is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.178 H 324.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#82228B
RGBrgb(130, 34, 139)
HSLhsl(295, 61%, 34%)
HSVhsv(295, 76%, 55%)
CMYKcmyk(6.5%, 75.5%, 0%, 45.5%)
CIE-LABlab(33.47, 53.56, -37.44)
CIE-LCHlch(33.47, 65.35, 325.05°)
OKLaboklab(44.99% 0.1447 -0.1044)
OKLCHoklch(44.99% 0.178 324.2)
XYZxyz(14.4378, 7.7549, 25.1575)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228B #2B8B22
analogous
#4E228B #82228B #8B2260
triadic
#82228B #8B8222 #228B82
tetradic
#82228B #8B4E22 #2B8B22 #22608B
square
#82228B #8B4E22 #2B8B22 #22608B
split-complementary
#82228B #608B22 #228B4E
monochromatic
#260A29 #54165A #82228B #B02EBC #CA53D5

Accessibility & contrast

On white

8.23
#82228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#82228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82228B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228B#FFFFFF#000000##FFFFFF
##82228B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#365389
Tritanopia (blue-blind)
#853555
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228b;
/* rgb */ color: rgb(130, 34, 139);
/* oklch */ color: oklch(45.0% 0.178 324.2);
Tailwind
colors: {
  custom: {
    50: '#aa68ad',
    500: '#82228b',
    950: '#000000',
  },
}
SCSS
$custom: #82228b;
$custom-light: #aa68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#82228b",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 294.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.17843,
    "h": 324.2
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#82228B
secondary
#59B850
accent
#E44452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228B

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

Preview Lab → · Contrast checker → · Palette generator →

#82228B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva