#82227A#82227A

#82227A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.165 H 331.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#82227A
RGBrgb(130, 34, 122)
HSLhsl(305, 59%, 32%)
HSVhsv(305, 74%, 51%)
CMYKcmyk(0%, 73.8%, 6.2%, 49%)
CIE-LABlab(32.47, 50.59, -28.42)
CIE-LCHlch(32.47, 58.03, 330.68°)
OKLaboklab(43.95% 0.1447 -0.0782)
OKLCHoklch(43.95% 0.165 331.6)
XYZxyz(13.2908, 7.2961, 19.1169)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82227A #22822A
analogous
#5A2282 #82227A #82224A
triadic
#82227A #7A8222 #227A82
tetradic
#82227A #825A22 #22822A #224A82
square
#82227A #825A22 #22822A #224A82
split-complementary
#82227A #4A8222 #22825A
monochromatic
#21091F #51154C #82227A #B32FA8 #D14EC6

Accessibility & contrast

On white

8.54
#82227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#82227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82227A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82227A#FFFFFF#000000##FFFFFF
##82227A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#882D4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #82227a;
/* rgb */ color: rgb(130, 34, 122);
/* oklch */ color: oklch(44.0% 0.165 331.6);
Tailwind
colors: {
  custom: {
    50: '#aa67a1',
    500: '#82227a',
    950: '#000000',
  },
}
SCSS
$custom: #82227a;
$custom-light: #aa67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#82227a",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 305,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.1645,
    "h": 331.6
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#82227A
secondary
#4CB455
accent
#E25346
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #82227A

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

Preview Lab → · Contrast checker → · Palette generator →

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