#522DAE#522DAE

#522DAE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.190 H 288.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#522DAE
RGBrgb(82, 45, 174)
HSLhsl(257, 59%, 43%)
HSVhsv(257, 74%, 68%)
CMYKcmyk(52.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(31.17, 47.88, -62.73)
CIE-LCHlch(31.17, 78.92, 307.35°)
OKLaboklab(42.8% 0.0613 -0.1803)
OKLCHoklch(42.8% 0.19 288.8)
XYZxyz(12.0558, 6.7260, 40.6992)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DAE #89AE2D
analogous
#2D49AE #522DAE #922DAE
triadic
#522DAE #AE522D #2DAE52
tetradic
#522DAE #AE2D49 #89AE2D #2DAE92
square
#522DAE #AE2D49 #89AE2D #2DAE92
split-complementary
#522DAE #AE922D #49AE2D
monochromatic
#24144D #3B207D #522DAE #6F48D0 #9679DC

Accessibility & contrast

On white

8.95
#522DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#522DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DAE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DAE#FFFFFF#000000##FFFFFF
##522DAE1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#2F506B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #522dae;
/* rgb */ color: rgb(82, 45, 174);
/* oklch */ color: oklch(42.8% 0.190 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ac7',
    500: '#522dae',
    950: '#000000',
  },
}
SCSS
$custom: #522dae;
$custom-light: #8c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#522dae",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 257.209,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.19044,
    "h": 288.8
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#522DAE
secondary
#ADC472
accent
#E246B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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