#522B59#522B59

#522B59 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 36.0% C 0.090 H 321.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#522B59
RGBrgb(82, 43, 89)
HSLhsl(291, 35%, 26%)
HSVhsv(291, 52%, 35%)
CMYKcmyk(7.9%, 51.7%, 0%, 65.1%)
CIE-LABlab(24.46, 26.30, -20.31)
CIE-LCHlch(24.46, 33.23, 322.32°)
OKLaboklab(35.97% 0.0701 -0.0561)
OKLCHoklch(35.97% 0.09 321.3)
XYZxyz(6.1465, 4.2431, 9.9445)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B59 #32592B
analogous
#3B2B59 #522B59 #592B49
triadic
#522B59 #59522B #2B5952
tetradic
#522B59 #593B2B #32592B #2B4959
square
#522B59 #593B2B #32592B #2B4959
split-complementary
#522B59 #49592B #2B593B
monochromatic
#130A15 #2C1730 #522B59 #783F82 #9E53AC

Accessibility & contrast

On white

11.36
#522B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#522B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B59
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B59#FFFFFF#000000##FFFFFF
##522B591.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375B
Deuteranopia (green-blind)
#303C58
Tritanopia (blue-blind)
#53313E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522b59;
/* rgb */ color: rgb(82, 43, 89);
/* oklch */ color: oklch(36.0% 0.090 321.3);
Tailwind
colors: {
  custom: {
    50: '#846688',
    500: '#522b59',
    950: '#000000',
  },
}
SCSS
$custom: #522b59;
$custom-light: #846688;
$custom-dark: #000000;
JSON
{
  "hex": "#522b59",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 290.87,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.08977,
    "h": 321.3
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#522B59
secondary
#5D8B55
accent
#CB5D6E
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522B59

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

Preview Lab → · Contrast checker → · Palette generator →

#522B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva