#522D4F#522D4F

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

Color values

HEX#522D4F
RGBrgb(82, 45, 79)
HSLhsl(305, 29%, 25%)
HSVhsv(305, 45%, 32%)
CMYKcmyk(0%, 45.1%, 3.7%, 67.8%)
CIE-LABlab(24.43, 22.89, -13.72)
CIE-LCHlch(24.43, 26.69, 329.06°)
OKLaboklab(35.78% 0.0645 -0.0373)
OKLCHoklch(35.78% 0.074 330)
XYZxyz(5.8293, 4.2354, 7.9061)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D4F #2D5230
analogous
#432D52 #522D4F #522D3C
triadic
#522D4F #4F522D #2D4F52
tetradic
#522D4F #52432D #2D5230 #2D3C52
square
#522D4F #52432D #2D5230 #2D3C52
split-complementary
#522D4F #3C522D #2D5243
monochromatic
#140B13 #2A1729 #522D4F #7A4375 #A1589B

Accessibility & contrast

On white

11.37
#522D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#522D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D4F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D4F#FFFFFF#000000##FFFFFF
##522D4F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#353C4E
Tritanopia (blue-blind)
#55303A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #522d4f;
/* rgb */ color: rgb(82, 45, 79);
/* oklch */ color: oklch(35.8% 0.074 330.0);
Tailwind
colors: {
  custom: {
    50: '#836780',
    500: '#522d4f',
    950: '#000000',
  },
}
SCSS
$custom: #522d4f;
$custom-light: #836780;
$custom-dark: #000000;
JSON
{
  "hex": "#522d4f",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 304.865,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35783,
    "c": 0.07447,
    "h": 330
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#522D4F
secondary
#57845B
accent
#C56A62
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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