#522352#522352

#522352 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.3% C 0.097 H 327.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#522352
RGBrgb(82, 35, 82)
HSLhsl(300, 40%, 23%)
HSVhsv(300, 57%, 32%)
CMYKcmyk(0%, 57.3%, 0%, 67.8%)
CIE-LABlab(22.32, 29.42, -19.01)
CIE-LCHlch(22.32, 35.03, 327.14°)
OKLaboklab(34.26% 0.0818 -0.0522)
OKLCHoklch(34.26% 0.097 327.4)
XYZxyz(5.6036, 3.6054, 8.3818)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522352 #235223
analogous
#3A2352 #522352 #52233A
triadic
#522352 #525223 #235252
tetradic
#522352 #523A23 #235223 #233A52
square
#522352 #523A23 #235223 #233A52
split-complementary
#522352 #3A5223 #23523A
monochromatic
#150915 #271127 #522352 #7D357D #A848A8

Accessibility & contrast

On white

12.20
#522352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#522352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522352
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522352#FFFFFF#000000##FFFFFF
##5223521.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3154
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#542837
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522352;
/* rgb */ color: rgb(82, 35, 82);
/* oklch */ color: oklch(34.3% 0.097 327.4);
Tailwind
colors: {
  custom: {
    50: '#846083',
    500: '#522352',
    950: '#000000',
  },
}
SCSS
$custom: #522352;
$custom-light: #846083;
$custom-dark: #000000;
JSON
{
  "hex": "#522352",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.09707,
    "h": 327.4
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#522352
secondary
#4B864B
accent
#D05858
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522352

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

Preview Lab → · Contrast checker → · Palette generator →

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