#522CA0#522CA0

#522CA0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.175 H 291.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#522CA0
RGBrgb(82, 44, 160)
HSLhsl(260, 57%, 40%)
HSVhsv(260, 73%, 63%)
CMYKcmyk(48.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.75, 44.43, -56.64)
CIE-LCHlch(29.75, 71.99, 308.11°)
OKLaboklab(41.4% 0.0654 -0.1624)
OKLCHoklch(41.4% 0.175 291.9)
XYZxyz(10.7237, 6.1329, 33.8696)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CA0 #7AA02C
analogous
#2C40A0 #522CA0 #8C2CA0
triadic
#522CA0 #A0522C #2CA052
tetradic
#522CA0 #A02C40 #7AA02C #2CA08C
square
#522CA0 #A02C40 #7AA02C #2CA08C
split-complementary
#522CA0 #A08C2C #40A02C
monochromatic
#211240 #391F70 #522CA0 #6D3FCA #916FD7

Accessibility & contrast

On white

9.43
#522CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#522CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CA0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CA0#FFFFFF#000000##FFFFFF
##522CA01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#394A63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #522ca0;
/* rgb */ color: rgb(82, 44, 160);
/* oklch */ color: oklch(41.4% 0.175 291.9);
Tailwind
colors: {
  custom: {
    50: '#8a69bd',
    500: '#522ca0',
    950: '#000000',
  },
}
SCSS
$custom: #522ca0;
$custom-light: #8a69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#522ca0",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 259.655,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.1751,
    "h": 291.9
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#522CA0
secondary
#A3BF69
accent
#E048AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #522CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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