#522EAE#522EAE

#522EAE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.189 H 288.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#522EAE
RGBrgb(82, 46, 174)
HSLhsl(257, 58%, 43%)
HSVhsv(257, 74%, 68%)
CMYKcmyk(52.9%, 73.6%, 0%, 31.8%)
CIE-LABlab(31.35, 47.37, -62.44)
CIE-LCHlch(31.35, 78.38, 307.19°)
OKLaboklab(42.93% 0.0605 -0.1795)
OKLCHoklch(42.93% 0.189 288.6)
XYZxyz(12.0944, 6.8032, 40.7121)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EAE #8AAE2E
analogous
#2E4AAE #522EAE #922EAE
triadic
#522EAE #AE522E #2EAE52
tetradic
#522EAE #AE2E4A #8AAE2E #2EAE92
square
#522EAE #AE2E4A #8AAE2E #2EAE92
split-complementary
#522EAE #AE922E #4AAE2E
monochromatic
#24144D #3B217E #522EAE #6F4ACF #967ADC

Accessibility & contrast

On white

8.90
#522EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#522EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EAE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EAE#FFFFFF#000000##FFFFFF
##522EAE1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#2F516B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #522eae;
/* rgb */ color: rgb(82, 46, 174);
/* oklch */ color: oklch(42.9% 0.189 288.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ac7',
    500: '#522eae',
    950: '#000000',
  },
}
SCSS
$custom: #522eae;
$custom-light: #8c6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#522eae",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 256.875,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.18937,
    "h": 288.6
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#522EAE
secondary
#AEC474
accent
#E146B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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