#522CA9#522CA9

#522CA9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.186 H 289.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#522CA9
RGBrgb(82, 44, 169)
HSLhsl(258, 59%, 42%)
HSVhsv(258, 74%, 66%)
CMYKcmyk(51.5%, 74%, 0%, 33.7%)
CIE-LABlab(30.54, 46.97, -60.77)
CIE-LCHlch(30.54, 76.81, 307.70°)
OKLaboklab(42.21% 0.0633 -0.1746)
OKLCHoklch(42.21% 0.186 289.9)
XYZxyz(11.5397, 6.4593, 38.1672)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CA9 #83A92C
analogous
#2C45A9 #522CA9 #912CA9
triadic
#522CA9 #A9522C #2CA952
tetradic
#522CA9 #A92C45 #83A92C #2CA991
square
#522CA9 #A92C45 #83A92C #2CA991
split-complementary
#522CA9 #A9912C #45A92C
monochromatic
#231348 #3A1F78 #522CA9 #6E44CE #9474DB

Accessibility & contrast

On white

9.16
#522CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#522CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CA9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CA9#FFFFFF#000000##FFFFFF
##522CA91.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#334E68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #522ca9;
/* rgb */ color: rgb(82, 44, 169);
/* oklch */ color: oklch(42.2% 0.186 289.9);
Tailwind
colors: {
  custom: {
    50: '#8b69c4',
    500: '#522ca9',
    950: '#000000',
  },
}
SCSS
$custom: #522ca9;
$custom-light: #8b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#522ca9",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 258.24,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.18569,
    "h": 289.9
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#522CA9
secondary
#A9C36E
accent
#E246B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #522CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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