#82227C#82227C

#82227C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.166 H 330.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#82227C
RGBrgb(130, 34, 124)
HSLhsl(304, 59%, 32%)
HSVhsv(304, 74%, 51%)
CMYKcmyk(0%, 73.8%, 4.6%, 49%)
CIE-LABlab(32.58, 50.93, -29.50)
CIE-LCHlch(32.58, 58.86, 329.92°)
OKLaboklab(44.07% 0.1448 -0.0813)
OKLCHoklch(44.07% 0.166 330.7)
XYZxyz(13.4160, 7.3462, 19.7762)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82227C #228228
analogous
#582282 #82227C #82224C
triadic
#82227C #7C8222 #227C82
tetradic
#82227C #825822 #228228 #224C82
square
#82227C #825822 #228228 #224C82
split-complementary
#82227C #4C8222 #228258
monochromatic
#21091F #51154E #82227C #B32FAA #D14EC8

Accessibility & contrast

On white

8.51
#82227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#82227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82227C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82227C#FFFFFF#000000##FFFFFF
##82227C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#3F517A
Tritanopia (blue-blind)
#872E4D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #82227c;
/* rgb */ color: rgb(130, 34, 124);
/* oklch */ color: oklch(44.1% 0.166 330.7);
Tailwind
colors: {
  custom: {
    50: '#aa67a2',
    500: '#82227c',
    950: '#000000',
  },
}
SCSS
$custom: #82227c;
$custom-light: #aa67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#82227c",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 303.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.16608,
    "h": 330.7
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#82227C
secondary
#4CB452
accent
#E25046
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82227C

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

Preview Lab → · Contrast checker → · Palette generator →

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