#522B60#522B60

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

Color values

HEX#522B60
RGBrgb(82, 43, 96)
HSLhsl(284, 38%, 27%)
HSVhsv(284, 55%, 38%)
CMYKcmyk(14.6%, 55.2%, 0%, 62.4%)
CIE-LABlab(24.85, 27.93, -24.30)
CIE-LCHlch(24.85, 37.02, 318.98°)
OKLaboklab(36.38% 0.0712 -0.0676)
OKLCHoklch(36.38% 0.098 316.5)
XYZxyz(6.4546, 4.3663, 11.5668)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B60 #39602B
analogous
#382B60 #522B60 #602B54
triadic
#522B60 #60522B #2B6052
tetradic
#522B60 #60382B #39602B #2B5460
square
#522B60 #60382B #39602B #2B5460
split-complementary
#522B60 #54602B #2B6038
monochromatic
#120915 #2E1836 #522B60 #763E8A #9953B2

Accessibility & contrast

On white

11.21
#522B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#522B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B60
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B60#FFFFFF#000000##FFFFFF
##522B601.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203962
Deuteranopia (green-blind)
#2C3C5F
Tritanopia (blue-blind)
#513341
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522b60;
/* rgb */ color: rgb(82, 43, 96);
/* oklch */ color: oklch(36.4% 0.098 316.5);
Tailwind
colors: {
  custom: {
    50: '#84668d',
    500: '#522b60',
    950: '#000000',
  },
}
SCSS
$custom: #522b60;
$custom-light: #84668d;
$custom-dark: #000000;
JSON
{
  "hex": "#522b60",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 284.151,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.09814,
    "h": 316.5
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#522B60
secondary
#659255
accent
#CE5A78
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #522B60

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

Preview Lab → · Contrast checker → · Palette generator →

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