#822288#822288

#822288 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 325.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#822288
RGBrgb(130, 34, 136)
HSLhsl(296, 60%, 33%)
HSVhsv(296, 75%, 53%)
CMYKcmyk(4.4%, 75%, 0%, 46.7%)
CIE-LABlab(33.28, 53.02, -35.87)
CIE-LCHlch(33.28, 64.02, 325.92°)
OKLaboklab(44.8% 0.1449 -0.0998)
OKLCHoklch(44.8% 0.176 325.4)
XYZxyz(14.2216, 7.6684, 24.0189)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822288 #288822
analogous
#4F2288 #822288 #88225B
triadic
#822288 #888222 #228882
tetradic
#822288 #884F22 #288822 #225B88
square
#822288 #884F22 #288822 #225B88
split-complementary
#822288 #5B8822 #22884F
monochromatic
#240A26 #531657 #822288 #B12EB9 #CC51D3

Accessibility & contrast

On white

8.29
#822288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#822288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822288
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822288#FFFFFF#000000##FFFFFF
##8222881.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#853453
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822288;
/* rgb */ color: rgb(130, 34, 136);
/* oklch */ color: oklch(44.8% 0.176 325.4);
Tailwind
colors: {
  custom: {
    50: '#aa68ab',
    500: '#822288',
    950: '#000000',
  },
}
SCSS
$custom: #822288;
$custom-light: #aa68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#822288",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 296.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.17591,
    "h": 325.4
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#822288
secondary
#55B74F
accent
#E3454E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822288

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

Preview Lab → · Contrast checker → · Palette generator →

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