#522CC1#522CC1

#522CC1 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.213 H 285.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#522CC1
RGBrgb(82, 44, 193)
HSLhsl(255, 63%, 46%)
HSVhsv(255, 77%, 76%)
CMYKcmyk(57.5%, 77.2%, 0%, 24.3%)
CIE-LABlab(32.80, 53.74, -71.33)
CIE-LCHlch(32.80, 89.31, 306.99°)
OKLaboklab(44.48% 0.057 -0.2055)
OKLCHoklch(44.48% 0.213 285.5)
XYZxyz(14.0031, 7.4446, 51.1408)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CC1 #9BC12C
analogous
#2C51C1 #522CC1 #9D2CC1
triadic
#522CC1 #C1522C #2CC152
tetradic
#522CC1 #C12C51 #9BC12C #2CC19D
square
#522CC1 #C12C51 #9BC12C #2CC19D
split-complementary
#522CC1 #C19D2C #51C12C
monochromatic
#28155D #3D218F #522CC1 #7453D8 #9D84E3

Accessibility & contrast

On white

8.44
#522CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#522CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CC1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CC1#FFFFFF#000000##FFFFFF
##522CC11.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0049BE
Tritanopia (blue-blind)
#175776
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522cc1;
/* rgb */ color: rgb(82, 44, 193);
/* oklch */ color: oklch(44.5% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f6ad5',
    500: '#522cc1',
    950: '#000000',
  },
}
SCSS
$custom: #522cc1;
$custom-light: #8f6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#522cc1",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 255.302,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.21322,
    "h": 285.5
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#522CC1
secondary
#B8CC7D
accent
#E642BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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