#522360#522360

#522360 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 35.1% C 0.112 H 317.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#522360
RGBrgb(82, 35, 96)
HSLhsl(286, 47%, 26%)
HSVhsv(286, 64%, 38%)
CMYKcmyk(14.6%, 63.5%, 0%, 62.4%)
CIE-LABlab(23.14, 32.49, -27.00)
CIE-LCHlch(23.14, 42.24, 320.27°)
OKLaboklab(35.13% 0.0832 -0.0754)
OKLCHoklch(35.13% 0.112 317.8)
XYZxyz(6.1917, 3.8407, 11.4792)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522360 #316023
analogous
#332360 #522360 #60234F
triadic
#522360 #605223 #236052
tetradic
#522360 #603323 #316023 #234F60
square
#522360 #603323 #316023 #234F60
split-complementary
#522360 #4F6023 #236033
monochromatic
#130816 #2C1333 #522360 #78338D #9F44BA

Accessibility & contrast

On white

11.88
#522360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522360
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522360#FFFFFF#000000##FFFFFF
##5223601.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#25395E
Tritanopia (blue-blind)
#522D3E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522360;
/* rgb */ color: rgb(82, 35, 96);
/* oklch */ color: oklch(35.1% 0.112 317.8);
Tailwind
colors: {
  custom: {
    50: '#85618d',
    500: '#522360',
    950: '#000000',
  },
}
SCSS
$custom: #522360;
$custom-light: #85618d;
$custom-dark: #000000;
JSON
{
  "hex": "#522360",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 96
  },
  "hsl": {
    "h": 286.23,
    "s": 46.565,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.11228,
    "h": 317.8
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#522360
secondary
#5C944B
accent
#D65270
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #522360

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

Preview Lab → · Contrast checker → · Palette generator →

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