#82228A#82228A

#82228A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.178 H 324.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#82228A
RGBrgb(130, 34, 138)
HSLhsl(295, 60%, 34%)
HSVhsv(295, 75%, 54%)
CMYKcmyk(5.8%, 75.4%, 0%, 45.9%)
CIE-LABlab(33.41, 53.38, -36.92)
CIE-LCHlch(33.41, 64.90, 325.33°)
OKLaboklab(44.92% 0.1448 -0.1028)
OKLCHoklch(44.92% 0.178 324.6)
XYZxyz(14.3650, 7.7258, 24.7744)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82228A #2A8A22
analogous
#4E228A #82228A #8A225E
triadic
#82228A #8A8222 #228A82
tetradic
#82228A #8A4E22 #2A8A22 #225E8A
square
#82228A #8A4E22 #2A8A22 #225E8A
split-complementary
#82228A #5E8A22 #228A4E
monochromatic
#250A28 #541659 #82228A #B02EBB #CA52D4

Accessibility & contrast

On white

8.25
#82228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82228A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82228A#FFFFFF#000000##FFFFFF
##82228A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#375288
Tritanopia (blue-blind)
#853454
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82228a;
/* rgb */ color: rgb(130, 34, 138);
/* oklch */ color: oklch(44.9% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#aa68ad',
    500: '#82228a',
    950: '#000000',
  },
}
SCSS
$custom: #82228a;
$custom-light: #aa68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#82228a",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 295.385,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.17759,
    "h": 324.6
  },
  "luminance": 0.07725
}

Semantic roles & 50–950 ramp

primary
#82228A
secondary
#58B850
accent
#E44450
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82228A

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

Preview Lab → · Contrast checker → · Palette generator →

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