#522CAD#522CAD

#522CAD is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.190 H 289.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#522CAD
RGBrgb(82, 44, 173)
HSLhsl(258, 59%, 43%)
HSVhsv(258, 75%, 68%)
CMYKcmyk(52.6%, 74.6%, 0%, 32.2%)
CIE-LABlab(30.91, 48.10, -62.58)
CIE-LCHlch(30.91, 78.93, 307.55°)
OKLaboklab(42.58% 0.0624 -0.1798)
OKLCHoklch(42.58% 0.19 289.1)
XYZxyz(11.9210, 6.6118, 40.1751)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CAD #87AD2C
analogous
#2C47AD #522CAD #922CAD
triadic
#522CAD #AD522C #2CAD52
tetradic
#522CAD #AD2C47 #87AD2C #2CAD92
square
#522CAD #AD2C47 #87AD2C #2CAD92
split-complementary
#522CAD #AD922C #47AD2C
monochromatic
#24134B #3B207C #522CAD #6F46D0 #9577DC

Accessibility & contrast

On white

9.04
#522CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#522CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CAD
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CAD#FFFFFF#000000##FFFFFF
##522CAD1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#304F6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #522cad;
/* rgb */ color: rgb(82, 44, 173);
/* oklch */ color: oklch(42.6% 0.190 289.1);
Tailwind
colors: {
  custom: {
    50: '#8c69c7',
    500: '#522cad',
    950: '#000000',
  },
}
SCSS
$custom: #522cad;
$custom-light: #8c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#522cad",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 257.674,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.19034,
    "h": 289.1
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#522CAD
secondary
#ACC471
accent
#E345B4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #522CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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