#522B57#522B57

#522B57 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.9% C 0.087 H 322.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#522B57
RGBrgb(82, 43, 87)
HSLhsl(293, 34%, 25%)
HSVhsv(293, 51%, 34%)
CMYKcmyk(5.7%, 50.6%, 0%, 65.9%)
CIE-LABlab(24.35, 25.85, -19.16)
CIE-LCHlch(24.35, 32.17, 323.46°)
OKLaboklab(35.85% 0.0698 -0.0527)
OKLCHoklch(35.85% 0.087 322.9)
XYZxyz(6.0637, 4.2100, 9.5082)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B57 #30572B
analogous
#3C2B57 #522B57 #572B46
triadic
#522B57 #57522B #2B5752
tetradic
#522B57 #573C2B #30572B #2B4657
square
#522B57 #573C2B #30572B #2B4657
split-complementary
#522B57 #46572B #2B573C
monochromatic
#130A14 #2B172E #522B57 #793F80 #9F53A9

Accessibility & contrast

On white

11.40
#522B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#522B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B57
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B57#FFFFFF#000000##FFFFFF
##522B571.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253759
Deuteranopia (green-blind)
#303B56
Tritanopia (blue-blind)
#53303D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522b57;
/* rgb */ color: rgb(82, 43, 87);
/* oklch */ color: oklch(35.9% 0.087 322.9);
Tailwind
colors: {
  custom: {
    50: '#846686',
    500: '#522b57',
    950: '#000000',
  },
}
SCSS
$custom: #522b57;
$custom-light: #846686;
$custom-dark: #000000;
JSON
{
  "hex": "#522b57",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 293.182,
    "s": 33.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.08744,
    "h": 322.9
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#522B57
secondary
#5B8955
accent
#CA5E6A
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522B57

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

Preview Lab → · Contrast checker → · Palette generator →

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