#522B56#522B56

#522B56 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.086 H 323.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#522B56
RGBrgb(82, 43, 86)
HSLhsl(294, 33%, 25%)
HSVhsv(294, 50%, 34%)
CMYKcmyk(4.7%, 50%, 0%, 66.3%)
CIE-LABlab(24.30, 25.63, -18.58)
CIE-LCHlch(24.30, 31.65, 324.06°)
OKLaboklab(35.8% 0.0696 -0.0511)
OKLCHoklch(35.8% 0.086 323.7)
XYZxyz(6.0231, 4.1937, 9.2945)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B56 #2F562B
analogous
#3D2B56 #522B56 #562B44
triadic
#522B56 #56522B #2B5652
tetradic
#522B56 #563D2B #2F562B #2B4456
square
#522B56 #563D2B #2F562B #2B4456
split-complementary
#522B56 #44562B #2B563D
monochromatic
#130A14 #2B172D #522B56 #793F7F #A054A8

Accessibility & contrast

On white

11.42
#522B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522B56
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B56#FFFFFF#000000##FFFFFF
##522B561.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263757
Deuteranopia (green-blind)
#313B55
Tritanopia (blue-blind)
#53303C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522b56;
/* rgb */ color: rgb(82, 43, 86);
/* oklch */ color: oklch(35.8% 0.086 323.7);
Tailwind
colors: {
  custom: {
    50: '#846686',
    500: '#522b56',
    950: '#000000',
  },
}
SCSS
$custom: #522b56;
$custom-light: #846686;
$custom-dark: #000000;
JSON
{
  "hex": "#522b56",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 294.419,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.08629,
    "h": 323.7
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#522B56
secondary
#598855
accent
#C95E68
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522B56

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

Preview Lab → · Contrast checker → · Palette generator →

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