#522753#522753

#522753 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.091 H 326.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#522753
RGBrgb(82, 39, 83)
HSLhsl(299, 36%, 24%)
HSVhsv(299, 53%, 33%)
CMYKcmyk(1.2%, 53%, 0%, 67.5%)
CIE-LABlab(23.24, 27.35, -18.25)
CIE-LCHlch(23.24, 32.88, 326.29°)
OKLaboklab(34.95% 0.0756 -0.0501)
OKLCHoklch(34.95% 0.091 326.5)
XYZxyz(5.7664, 3.8697, 8.6251)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522753 #285327
analogous
#3C2753 #522753 #53273E
triadic
#522753 #535227 #275352
tetradic
#522753 #533C27 #285327 #273E53
square
#522753 #533C27 #285327 #273E53
split-complementary
#522753 #3E5327 #27533C
monochromatic
#150A15 #291329 #522753 #7B3B7D #A44EA6

Accessibility & contrast

On white

11.84
#522753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#522753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522753
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522753#FFFFFF#000000##FFFFFF
##5227531.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233454
Deuteranopia (green-blind)
#2F3952
Tritanopia (blue-blind)
#542C39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522753;
/* rgb */ color: rgb(82, 39, 83);
/* oklch */ color: oklch(35.0% 0.091 326.5);
Tailwind
colors: {
  custom: {
    50: '#846383',
    500: '#522753',
    950: '#000000',
  },
}
SCSS
$custom: #522753;
$custom-light: #846383;
$custom-dark: #000000;
JSON
{
  "hex": "#522753",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 83
  },
  "hsl": {
    "h": 298.636,
    "s": 36.066,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34954,
    "c": 0.09067,
    "h": 326.5
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#522753
secondary
#518650
accent
#CC5C5E
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050A
muted
#7C7A7C

Preview Lab

Preview with #522753

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

Preview Lab → · Contrast checker → · Palette generator →

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