#522EAD#522EAD

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

Color values

HEX#522EAD
RGBrgb(82, 46, 173)
HSLhsl(257, 58%, 43%)
HSVhsv(257, 73%, 68%)
CMYKcmyk(52.6%, 73.4%, 0%, 32.2%)
CIE-LABlab(31.26, 47.09, -61.99)
CIE-LCHlch(31.26, 77.84, 307.22°)
OKLaboklab(42.83% 0.0607 -0.1781)
OKLCHoklch(42.83% 0.188 288.8)
XYZxyz(11.9973, 6.7644, 40.2006)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EAD #89AD2E
analogous
#2E49AD #522EAD #912EAD
triadic
#522EAD #AD522E #2EAD52
tetradic
#522EAD #AD2E49 #89AD2E #2EAD91
square
#522EAD #AD2E49 #89AD2E #2EAD91
split-complementary
#522EAD #AD912E #49AD2E
monochromatic
#24144C #3B217D #522EAD #6F49CF #967ADC

Accessibility & contrast

On white

8.92
#522EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522EAD
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EAD#FFFFFF#000000##FFFFFF
##522EAD1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#30506B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #522ead;
/* rgb */ color: rgb(82, 46, 173);
/* oklch */ color: oklch(42.8% 0.188 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ac7',
    500: '#522ead',
    950: '#000000',
  },
}
SCSS
$custom: #522ead;
$custom-light: #8c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#522ead",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 257.008,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.18819,
    "h": 288.8
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#522EAD
secondary
#ADC473
accent
#E147B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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