#522CAA#522CAA

#522CAA is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.187 H 289.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#522CAA
RGBrgb(82, 44, 170)
HSLhsl(258, 59%, 42%)
HSVhsv(258, 74%, 67%)
CMYKcmyk(51.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(30.63, 47.25, -61.22)
CIE-LCHlch(30.63, 77.34, 307.66°)
OKLaboklab(42.31% 0.0631 -0.1759)
OKLCHoklch(42.31% 0.187 289.7)
XYZxyz(11.6340, 6.4970, 38.6635)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CAA #84AA2C
analogous
#2C45AA #522CAA #912CAA
triadic
#522CAA #AA522C #2CAA52
tetradic
#522CAA #AA2C45 #84AA2C #2CAA91
square
#522CAA #AA2C45 #84AA2C #2CAA91
split-complementary
#522CAA #AA912C #45AA2C
monochromatic
#231349 #3B1F79 #522CAA #6E44CF #9475DB

Accessibility & contrast

On white

9.13
#522CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#522CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CAA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CAA#FFFFFF#000000##FFFFFF
##522CAA1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#324E69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #522caa;
/* rgb */ color: rgb(82, 44, 170);
/* oklch */ color: oklch(42.3% 0.187 289.7);
Tailwind
colors: {
  custom: {
    50: '#8c69c4',
    500: '#522caa',
    950: '#000000',
  },
}
SCSS
$custom: #522caa;
$custom-light: #8c69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#522caa",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 258.095,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.18685,
    "h": 289.7
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#522CAA
secondary
#AAC36F
accent
#E246B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #522CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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