#522153#522153

#522153 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.102 H 326.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#522153
RGBrgb(82, 33, 83)
HSLhsl(299, 43%, 23%)
HSVhsv(299, 60%, 33%)
CMYKcmyk(1.2%, 60.2%, 0%, 67.5%)
CIE-LABlab(21.97, 30.73, -20.23)
CIE-LCHlch(21.97, 36.79, 326.64°)
OKLaboklab(34.02% 0.085 -0.0557)
OKLCHoklch(34.02% 0.102 326.8)
XYZxyz(5.5848, 3.5064, 8.5646)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522153 #225321
analogous
#392153 #522153 #53213B
triadic
#522153 #535221 #215352
tetradic
#522153 #533921 #225321 #213B53
square
#522153 #533921 #225321 #213B53
split-complementary
#522153 #3B5321 #215339
monochromatic
#160916 #271027 #522153 #7D327F #A944AB

Accessibility & contrast

On white

12.34
#522153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#522153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522153
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522153#FFFFFF#000000##FFFFFF
##5221531.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3155
Deuteranopia (green-blind)
#2B3752
Tritanopia (blue-blind)
#542736
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522153;
/* rgb */ color: rgb(82, 33, 83);
/* oklch */ color: oklch(34.0% 0.102 326.8);
Tailwind
colors: {
  custom: {
    50: '#845f83',
    500: '#522153',
    950: '#000000',
  },
}
SCSS
$custom: #522153;
$custom-light: #845f83;
$custom-dark: #000000;
JSON
{
  "hex": "#522153",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 298.8,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.10169,
    "h": 326.8
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#522153
secondary
#4A8749
accent
#D35557
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522153

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

Preview Lab → · Contrast checker → · Palette generator →

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