#522E57#522E57

#522E57 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.4% C 0.082 H 322.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#522E57
RGBrgb(82, 46, 87)
HSLhsl(293, 31%, 26%)
HSVhsv(293, 47%, 34%)
CMYKcmyk(5.7%, 47.1%, 0%, 65.9%)
CIE-LABlab(25.06, 24.02, -18.05)
CIE-LCHlch(25.06, 30.05, 323.08°)
OKLaboklab(36.38% 0.0647 -0.0496)
OKLCHoklch(36.38% 0.082 322.5)
XYZxyz(6.1768, 4.4362, 9.5459)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E57 #33572E
analogous
#3D2E57 #522E57 #572E47
triadic
#522E57 #57522E #2E5752
tetradic
#522E57 #573D2E #33572E #2E4757
square
#522E57 #573D2E #33572E #2E4757
split-complementary
#522E57 #47572E #2E573D
monochromatic
#130B14 #2C192F #522E57 #78437F #9D58A7

Accessibility & contrast

On white

11.13
#522E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E57
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E57#FFFFFF#000000##FFFFFF
##522E571.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#333D56
Tritanopia (blue-blind)
#53333E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522e57;
/* rgb */ color: rgb(82, 46, 87);
/* oklch */ color: oklch(36.4% 0.082 322.5);
Tailwind
colors: {
  custom: {
    50: '#846886',
    500: '#522e57',
    950: '#000000',
  },
}
SCSS
$custom: #522e57;
$custom-light: #846886;
$custom-dark: #000000;
JSON
{
  "hex": "#522e57",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 292.683,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36381,
    "c": 0.08154,
    "h": 322.5
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#522E57
secondary
#5E8958
accent
#C7616D
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522E57

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

Preview Lab → · Contrast checker → · Palette generator →

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