#522353#522353

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

Color values

HEX#522353
RGBrgb(82, 35, 83)
HSLhsl(299, 41%, 23%)
HSVhsv(299, 58%, 33%)
CMYKcmyk(1.2%, 57.8%, 0%, 67.5%)
CIE-LABlab(22.38, 29.63, -19.59)
CIE-LCHlch(22.38, 35.52, 326.53°)
OKLaboklab(34.32% 0.082 -0.0539)
OKLCHoklch(34.32% 0.098 326.7)
XYZxyz(5.6419, 3.6208, 8.5836)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522353 #245323
analogous
#3A2353 #522353 #53233C
triadic
#522353 #535223 #235352
tetradic
#522353 #533A23 #245323 #233C53
square
#522353 #533A23 #245323 #233C53
split-complementary
#522353 #3C5323 #23533A
monochromatic
#150916 #271128 #522353 #7D357E #A747A9

Accessibility & contrast

On white

12.18
#522353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522353
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522353#FFFFFF#000000##FFFFFF
##5223531.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#542937
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522353;
/* rgb */ color: rgb(82, 35, 83);
/* oklch */ color: oklch(34.3% 0.098 326.7);
Tailwind
colors: {
  custom: {
    50: '#846083',
    500: '#522353',
    950: '#000000',
  },
}
SCSS
$custom: #522353;
$custom-light: #846083;
$custom-dark: #000000;
JSON
{
  "hex": "#522353",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 298.75,
    "s": 40.678,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3432,
    "c": 0.09811,
    "h": 326.7
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#522353
secondary
#4C874B
accent
#D1575A
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522353

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

Preview Lab → · Contrast checker → · Palette generator →

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