#522DB9#522DB9

#522DB9 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.203 H 286.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#522DB9
RGBrgb(82, 45, 185)
HSLhsl(256, 61%, 45%)
HSVhsv(256, 76%, 73%)
CMYKcmyk(55.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(32.20, 51.00, -67.60)
CIE-LCHlch(32.20, 84.68, 307.03°)
OKLaboklab(43.83% 0.0585 -0.1946)
OKLCHoklch(43.83% 0.203 286.7)
XYZxyz(13.1724, 7.1727, 46.5799)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DB9 #94B92D
analogous
#2D4EB9 #522DB9 #982DB9
triadic
#522DB9 #B9522D #2DB952
tetradic
#522DB9 #B92D4E #94B92D #2DB998
square
#522DB9 #B92D4E #94B92D #2DB998
split-complementary
#522DB9 #B9982D #4EB92D
monochromatic
#261557 #3C2188 #522DB9 #724FD4 #9A80E0

Accessibility & contrast

On white

8.63
#522DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#522DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DB9
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DB9#FFFFFF#000000##FFFFFF
##522DB91.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#235471
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #522db9;
/* rgb */ color: rgb(82, 45, 185);
/* oklch */ color: oklch(43.8% 0.203 286.7);
Tailwind
colors: {
  custom: {
    50: '#8e6acf',
    500: '#522db9',
    950: '#000000',
  },
}
SCSS
$custom: #522db9;
$custom-light: #8e6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#522db9",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 255.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.20317,
    "h": 286.7
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#522DB9
secondary
#B4C979
accent
#E444BA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #522DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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