#522356#522356

#522356 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.5% C 0.101 H 324.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#522356
RGBrgb(82, 35, 86)
HSLhsl(295, 42%, 24%)
HSVhsv(295, 59%, 34%)
CMYKcmyk(4.7%, 59.3%, 0%, 66.3%)
CIE-LABlab(22.54, 30.27, -21.33)
CIE-LCHlch(22.54, 37.03, 324.83°)
OKLaboklab(34.5% 0.0824 -0.0589)
OKLCHoklch(34.5% 0.101 324.4)
XYZxyz(5.7603, 3.6681, 9.2069)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522356 #275623
analogous
#382356 #522356 #562340
triadic
#522356 #565223 #235652
tetradic
#522356 #563823 #275623 #234056
square
#522356 #563823 #275623 #234056
split-complementary
#522356 #405623 #235638
monochromatic
#150916 #29112B #522356 #7B3581 #A546AD

Accessibility & contrast

On white

12.11
#522356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#522356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522356
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522356#FFFFFF#000000##FFFFFF
##5223561.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#2B3855
Tritanopia (blue-blind)
#542A39
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522356;
/* rgb */ color: rgb(82, 35, 86);
/* oklch */ color: oklch(34.5% 0.101 324.4);
Tailwind
colors: {
  custom: {
    50: '#846186',
    500: '#522356',
    950: '#000000',
  },
}
SCSS
$custom: #522356;
$custom-light: #846186;
$custom-dark: #000000;
JSON
{
  "hex": "#522356",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 295.294,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.10129,
    "h": 324.4
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#522356
secondary
#508A4B
accent
#D25660
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #522356

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

Preview Lab → · Contrast checker → · Palette generator →

#522356 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva