#522361#522361

#522361 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.113 H 317.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#522361
RGBrgb(82, 35, 97)
HSLhsl(285, 47%, 26%)
HSVhsv(285, 64%, 38%)
CMYKcmyk(15.5%, 63.9%, 0%, 62%)
CIE-LABlab(23.20, 32.72, -27.56)
CIE-LCHlch(23.20, 42.78, 319.89°)
OKLaboklab(35.19% 0.0832 -0.077)
OKLCHoklch(35.19% 0.113 317.2)
XYZxyz(6.2381, 3.8592, 11.7232)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522361 #326123
analogous
#332361 #522361 #612351
triadic
#522361 #615223 #236152
tetradic
#522361 #613323 #326123 #235161
square
#522361 #613323 #326123 #235161
split-complementary
#522361 #516123 #236133
monochromatic
#130816 #2C1334 #522361 #78338E #9E43BB

Accessibility & contrast

On white

11.85
#522361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#522361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522361
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522361#FFFFFF#000000##FFFFFF
##5223611.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123463
Deuteranopia (green-blind)
#25395F
Tritanopia (blue-blind)
#512D3E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522361;
/* rgb */ color: rgb(82, 35, 97);
/* oklch */ color: oklch(35.2% 0.113 317.2);
Tailwind
colors: {
  custom: {
    50: '#85618e',
    500: '#522361',
    950: '#000000',
  },
}
SCSS
$custom: #522361;
$custom-light: #85618e;
$custom-dark: #000000;
JSON
{
  "hex": "#522361",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 97
  },
  "hsl": {
    "h": 285.484,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35191,
    "c": 0.11341,
    "h": 317.2
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#522361
secondary
#5D954B
accent
#D75171
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #522361

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

Preview Lab → · Contrast checker → · Palette generator →

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