#522359#522359

#522359 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.105 H 322.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#522359
RGBrgb(82, 35, 89)
HSLhsl(292, 44%, 24%)
HSVhsv(292, 61%, 35%)
CMYKcmyk(7.9%, 60.7%, 0%, 65.1%)
CIE-LABlab(22.71, 30.92, -23.05)
CIE-LCHlch(22.71, 38.57, 323.29°)
OKLaboklab(34.68% 0.0827 -0.0639)
OKLCHoklch(34.68% 0.105 322.3)
XYZxyz(5.8837, 3.7175, 9.8569)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522359 #2A5923
analogous
#372359 #522359 #592345
triadic
#522359 #595223 #235952
tetradic
#522359 #593723 #2A5923 #234559
square
#522359 #593723 #2A5923 #234559
split-complementary
#522359 #455923 #235937
monochromatic
#140916 #2A122D #522359 #7A3485 #A346B1

Accessibility & contrast

On white

12.05
#522359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#522359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522359
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522359#FFFFFF#000000##FFFFFF
##5223591.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#2A3858
Tritanopia (blue-blind)
#532B3A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522359;
/* rgb */ color: rgb(82, 35, 89);
/* oklch */ color: oklch(34.7% 0.105 322.3);
Tailwind
colors: {
  custom: {
    50: '#846188',
    500: '#522359',
    950: '#000000',
  },
}
SCSS
$custom: #522359;
$custom-light: #846188;
$custom-dark: #000000;
JSON
{
  "hex": "#522359",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 89
  },
  "hsl": {
    "h": 292.222,
    "s": 43.548,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.10453,
    "h": 322.3
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#522359
secondary
#548D4B
accent
#D35565
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #522359

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

Preview Lab → · Contrast checker → · Palette generator →

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