#522CB9#522CB9

#522CB9 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.204 H 286.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#522CB9
RGBrgb(82, 44, 185)
HSLhsl(256, 62%, 45%)
HSVhsv(256, 76%, 73%)
CMYKcmyk(55.7%, 76.2%, 0%, 27.5%)
CIE-LABlab(32.03, 51.49, -67.88)
CIE-LCHlch(32.03, 85.20, 307.18°)
OKLaboklab(43.71% 0.0592 -0.1954)
OKLCHoklch(43.71% 0.204 286.9)
XYZxyz(13.1347, 7.0973, 46.5673)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CB9 #93B92C
analogous
#2C4DB9 #522CB9 #982CB9
triadic
#522CB9 #B9522C #2CB952
tetradic
#522CB9 #B92C4D #93B92C #2CB998
square
#522CB9 #B92C4D #93B92C #2CB998
split-complementary
#522CB9 #B9982C #4DB92C
monochromatic
#261456 #3C2088 #522CB9 #724DD5 #997FE1

Accessibility & contrast

On white

8.68
#522CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#522CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CB9
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CB9#FFFFFF#000000##FFFFFF
##522CB91.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#245471
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #522cb9;
/* rgb */ color: rgb(82, 44, 185);
/* oklch */ color: oklch(43.7% 0.204 286.9);
Tailwind
colors: {
  custom: {
    50: '#8e6acf',
    500: '#522cb9',
    950: '#000000',
  },
}
SCSS
$custom: #522cb9;
$custom-light: #8e6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#522cb9",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 256.17,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.20415,
    "h": 286.9
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#522CB9
secondary
#B3C978
accent
#E543B9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #522CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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