#522D4E#522D4E

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

Color values

HEX#522D4E
RGBrgb(82, 45, 78)
HSLhsl(306, 29%, 25%)
HSVhsv(306, 45%, 32%)
CMYKcmyk(0%, 45.1%, 4.9%, 67.8%)
CIE-LABlab(24.39, 22.68, -13.13)
CIE-LCHlch(24.39, 26.21, 329.94°)
OKLaboklab(35.73% 0.0642 -0.0356)
OKLCHoklch(35.73% 0.073 331)
XYZxyz(5.7931, 4.2210, 7.7158)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D4E #2D5231
analogous
#432D52 #522D4E #522D3C
triadic
#522D4E #4E522D #2D4E52
tetradic
#522D4E #52432D #2D5231 #2D3C52
square
#522D4E #52432D #2D5231 #2D3C52
split-complementary
#522D4E #3C522D #2D5243
monochromatic
#140B13 #2A1728 #522D4E #7A4374 #A15899

Accessibility & contrast

On white

11.39
#522D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522D4E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D4E#FFFFFF#000000##FFFFFF
##522D4E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522d4e;
/* rgb */ color: rgb(82, 45, 78);
/* oklch */ color: oklch(35.7% 0.073 331.0);
Tailwind
colors: {
  custom: {
    50: '#83677f',
    500: '#522d4e',
    950: '#000000',
  },
}
SCSS
$custom: #522d4e;
$custom-light: #83677f;
$custom-dark: #000000;
JSON
{
  "hex": "#522d4e",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 306.486,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35734,
    "c": 0.07341,
    "h": 331
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#522D4E
secondary
#57845C
accent
#C56D62
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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