#522C4E#522C4E

#522C4E is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.6% C 0.075 H 330.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#522C4E
RGBrgb(82, 44, 78)
HSLhsl(306, 30%, 25%)
HSVhsv(306, 46%, 32%)
CMYKcmyk(0%, 46.3%, 4.9%, 67.8%)
CIE-LABlab(24.15, 23.30, -13.50)
CIE-LCHlch(24.15, 26.92, 329.91°)
OKLaboklab(35.55% 0.066 -0.0366)
OKLCHoklch(35.55% 0.075 330.9)
XYZxyz(5.7554, 4.1456, 7.7033)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C4E #2C5230
analogous
#432C52 #522C4E #522C3B
triadic
#522C4E #4E522C #2C4E52
tetradic
#522C4E #52432C #2C5230 #2C3B52
square
#522C4E #52432C #2C5230 #2C3B52
split-complementary
#522C4E #3B522C #2C5243
monochromatic
#140B13 #2A1728 #522C4E #7A4174 #A2579A

Accessibility & contrast

On white

11.48
#522C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#522C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C4E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C4E#FFFFFF#000000##FFFFFF
##522C4E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#353B4D
Tritanopia (blue-blind)
#552F39
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522c4e;
/* rgb */ color: rgb(82, 44, 78);
/* oklch */ color: oklch(35.6% 0.075 330.9);
Tailwind
colors: {
  custom: {
    50: '#84667f',
    500: '#522c4e',
    950: '#000000',
  },
}
SCSS
$custom: #522c4e;
$custom-light: #84667f;
$custom-dark: #000000;
JSON
{
  "hex": "#522c4e",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 306.316,
    "s": 30.159,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.07544,
    "h": 330.9
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#522C4E
secondary
#56845B
accent
#C66C61
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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