#522169#522169

#522169 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.126 H 313.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#522169
RGBrgb(82, 33, 105)
HSLhsl(281, 52%, 27%)
HSVhsv(281, 69%, 41%)
CMYKcmyk(21.9%, 68.6%, 0%, 58.8%)
CIE-LABlab(23.34, 35.65, -32.55)
CIE-LCHlch(23.34, 48.27, 317.60°)
OKLaboklab(35.47% 0.0859 -0.0916)
OKLCHoklch(35.47% 0.126 313.1)
XYZxyz(6.5729, 3.9017, 13.7687)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522169 #386921
analogous
#2E2169 #522169 #69215C
triadic
#522169 #695221 #216952
tetradic
#522169 #692E21 #386921 #215C69
square
#522169 #692E21 #386921 #215C69
split-complementary
#522169 #5C6921 #21692E
monochromatic
#120717 #2E123A #522169 #763098 #9A41C3

Accessibility & contrast

On white

11.80
#522169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#522169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522169
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522169#FFFFFF#000000##FFFFFF
##5221691.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#1C3967
Tritanopia (blue-blind)
#502F42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522169;
/* rgb */ color: rgb(82, 33, 105);
/* oklch */ color: oklch(35.5% 0.126 313.1);
Tailwind
colors: {
  custom: {
    50: '#856094',
    500: '#522169',
    950: '#000000',
  },
}
SCSS
$custom: #522169;
$custom-light: #856094;
$custom-dark: #000000;
JSON
{
  "hex": "#522169",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 280.833,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35465,
    "c": 0.12557,
    "h": 313.1
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#522169
secondary
#649D49
accent
#DC4C7A
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #522169

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

Preview Lab → · Contrast checker → · Palette generator →

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