#822276#822276

#822276 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.161 H 333.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#822276
RGBrgb(130, 34, 118)
HSLhsl(308, 59%, 32%)
HSVhsv(308, 74%, 51%)
CMYKcmyk(0%, 73.8%, 9.2%, 49%)
CIE-LABlab(32.26, 49.93, -26.24)
CIE-LCHlch(32.26, 56.41, 332.28°)
OKLaboklab(43.73% 0.1445 -0.0719)
OKLCHoklch(43.73% 0.161 333.5)
XYZxyz(13.0481, 7.1990, 17.8384)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822276 #22822E
analogous
#5E2282 #822276 #822246
triadic
#822276 #768222 #227682
tetradic
#822276 #825E22 #22822E #224682
square
#822276 #825E22 #22822E #224682
split-complementary
#822276 #468222 #22825E
monochromatic
#21091E #51154A #822276 #B32FA2 #D14EC0

Accessibility & contrast

On white

8.61
#822276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#822276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822276
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822276#FFFFFF#000000##FFFFFF
##8222761.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#882B49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822276;
/* rgb */ color: rgb(130, 34, 118);
/* oklch */ color: oklch(43.7% 0.161 333.5);
Tailwind
colors: {
  custom: {
    50: '#a9679e',
    500: '#822276',
    950: '#000000',
  },
}
SCSS
$custom: #822276;
$custom-light: #a9679e;
$custom-dark: #000000;
JSON
{
  "hex": "#822276",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 307.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.16136,
    "h": 333.5
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#822276
secondary
#4CB459
accent
#E25A46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822276

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

Preview Lab → · Contrast checker → · Palette generator →

#822276 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva