#522C9D#522C9D

#522C9D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.172 H 292.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#522C9D
RGBrgb(82, 44, 157)
HSLhsl(260, 56%, 39%)
HSVhsv(260, 72%, 62%)
CMYKcmyk(47.8%, 72%, 0%, 38.4%)
CIE-LABlab(29.49, 43.58, -55.24)
CIE-LCHlch(29.49, 70.36, 308.27°)
OKLaboklab(41.14% 0.066 -0.1583)
OKLCHoklch(41.14% 0.172 292.6)
XYZxyz(10.4645, 6.0292, 32.5041)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C9D #779D2C
analogous
#2C3F9D #522C9D #8B2C9D
triadic
#522C9D #9D522C #2C9D52
tetradic
#522C9D #9D2C3F #779D2C #2C9D8B
square
#522C9D #9D2C3F #779D2C #2C9D8B
split-complementary
#522C9D #9D8B2C #3F9D2C
monochromatic
#20113D #391F6D #522C9D #6C3DC9 #916DD6

Accessibility & contrast

On white

9.52
#522C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#522C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C9D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C9D#FFFFFF#000000##FFFFFF
##522C9D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#3B4961
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #522c9d;
/* rgb */ color: rgb(82, 44, 157);
/* oklch */ color: oklch(41.1% 0.172 292.6);
Tailwind
colors: {
  custom: {
    50: '#8a68bb',
    500: '#522c9d',
    950: '#000000',
  },
}
SCSS
$custom: #522c9d;
$custom-light: #8a68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#522c9d",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 260.177,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.17153,
    "h": 292.6
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#522C9D
secondary
#A0BD68
accent
#E048AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #522C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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