#822072#822072

#822072 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 335.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#822072
RGBrgb(130, 32, 114)
HSLhsl(310, 60%, 32%)
HSVhsv(310, 75%, 51%)
CMYKcmyk(0%, 75.4%, 12.3%, 49%)
CIE-LABlab(31.80, 50.01, -24.43)
CIE-LCHlch(31.80, 55.65, 333.97°)
OKLaboklab(43.33% 0.1462 -0.0667)
OKLCHoklch(43.33% 0.161 335.5)
XYZxyz(12.7599, 6.9949, 16.5945)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822072 #208230
analogous
#612082 #822072 #822041
triadic
#822072 #728220 #207282
tetradic
#822072 #826120 #208230 #204182
square
#822072 #826120 #208230 #204182
split-complementary
#822072 #418220 #208261
monochromatic
#20081C #511447 #822072 #B32C9D #D24ABC

Accessibility & contrast

On white

8.75
#822072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#822072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822072
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822072#FFFFFF#000000##FFFFFF
##8220721.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#892847
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822072;
/* rgb */ color: rgb(130, 32, 114);
/* oklch */ color: oklch(43.3% 0.161 335.5);
Tailwind
colors: {
  custom: {
    50: '#aa669b',
    500: '#822072',
    950: '#000000',
  },
}
SCSS
$custom: #822072;
$custom-light: #aa669b;
$custom-dark: #000000;
JSON
{
  "hex": "#822072",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 309.796,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.16069,
    "h": 335.5
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#822072
secondary
#49B55B
accent
#E45E44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822072

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

Preview Lab → · Contrast checker → · Palette generator →

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