#522CAE#522CAE

#522CAE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.192 H 288.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#522CAE
RGBrgb(82, 44, 174)
HSLhsl(258, 60%, 43%)
HSVhsv(258, 75%, 68%)
CMYKcmyk(52.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(31.00, 48.38, -63.02)
CIE-LCHlch(31.00, 79.45, 307.51°)
OKLaboklab(42.67% 0.0621 -0.1812)
OKLCHoklch(42.67% 0.192 288.9)
XYZxyz(12.0181, 6.6506, 40.6866)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CAE #88AE2C
analogous
#2C47AE #522CAE #932CAE
triadic
#522CAE #AE522C #2CAE52
tetradic
#522CAE #AE2C47 #88AE2C #2CAE93
square
#522CAE #AE2C47 #88AE2C #2CAE93
split-complementary
#522CAE #AE932C #47AE2C
monochromatic
#24134C #3B207D #522CAE #6F47D0 #9578DD

Accessibility & contrast

On white

9.01
#522CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#522CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CAE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CAE#FFFFFF#000000##FFFFFF
##522CAE1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.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: #522cae;
/* rgb */ color: rgb(82, 44, 174);
/* oklch */ color: oklch(42.7% 0.192 288.9);
Tailwind
colors: {
  custom: {
    50: '#8c69c7',
    500: '#522cae',
    950: '#000000',
  },
}
SCSS
$custom: #522cae;
$custom-light: #8c69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#522cae",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 257.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.19151,
    "h": 288.9
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#522CAE
secondary
#ACC571
accent
#E345B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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