#522E9A#522E9A

#522E9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.165 H 293.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#522E9A
RGBrgb(82, 46, 154)
HSLhsl(260, 54%, 39%)
HSVhsv(260, 70%, 60%)
CMYKcmyk(46.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(29.61, 41.67, -53.20)
CIE-LCHlch(29.61, 67.58, 308.07°)
OKLaboklab(41.15% 0.0646 -0.1524)
OKLCHoklch(41.15% 0.165 293)
XYZxyz(10.2878, 6.0806, 31.1972)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E9A #769A2E
analogous
#2E409A #522E9A #882E9A
triadic
#522E9A #9A522E #2E9A52
tetradic
#522E9A #9A2E40 #769A2E #2E9A88
square
#522E9A #9A2E40 #769A2E #2E9A88
split-complementary
#522E9A #9A882E #409A2E
monochromatic
#20123C #39206B #522E9A #6C3FC6 #906FD4

Accessibility & contrast

On white

9.48
#522E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#522E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E9A
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E9A#FFFFFF#000000##FFFFFF
##522E9A1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#3D4960
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #522e9a;
/* rgb */ color: rgb(82, 46, 154);
/* oklch */ color: oklch(41.2% 0.165 293.0);
Tailwind
colors: {
  custom: {
    50: '#896ab9',
    500: '#522e9a',
    950: '#000000',
  },
}
SCSS
$custom: #522e9a;
$custom-light: #896ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#522e9a",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 260,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.16549,
    "h": 293
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#522E9A
secondary
#A0BB69
accent
#DD4AAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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