#522D4D#522D4D

#522D4D is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.7% C 0.072 H 332.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#522D4D
RGBrgb(82, 45, 77)
HSLhsl(308, 29%, 25%)
HSVhsv(308, 45%, 32%)
CMYKcmyk(0%, 45.1%, 6.1%, 67.8%)
CIE-LABlab(24.34, 22.47, -12.53)
CIE-LCHlch(24.34, 25.73, 330.86°)
OKLaboklab(35.68% 0.0639 -0.0339)
OKLCHoklch(35.68% 0.072 332)
XYZxyz(5.7576, 4.2067, 7.5285)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D4D #2D5232
analogous
#452D52 #522D4D #522D3B
triadic
#522D4D #4D522D #2D4D52
tetradic
#522D4D #52452D #2D5232 #2D3B52
square
#522D4D #52452D #2D5232 #2D3B52
split-complementary
#522D4D #3B522D #2D5245
monochromatic
#140B13 #2A1728 #522D4D #7A4372 #A15897

Accessibility & contrast

On white

11.41
#522D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522D4D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D4D#FFFFFF#000000##FFFFFF
##522D4D1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#363C4C
Tritanopia (blue-blind)
#552F39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522d4d;
/* rgb */ color: rgb(82, 45, 77);
/* oklch */ color: oklch(35.7% 0.072 332.0);
Tailwind
colors: {
  custom: {
    50: '#83677f',
    500: '#522d4d',
    950: '#000000',
  },
}
SCSS
$custom: #522d4d;
$custom-light: #83677f;
$custom-dark: #000000;
JSON
{
  "hex": "#522d4d",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 308.108,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.07235,
    "h": 332
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#522D4D
secondary
#57845D
accent
#C57062
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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