#522DC3#522DC3

#522DC3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.215 H 285.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#522DC3
RGBrgb(82, 45, 195)
HSLhsl(255, 63%, 47%)
HSVhsv(255, 77%, 76%)
CMYKcmyk(57.9%, 76.9%, 0%, 23.5%)
CIE-LABlab(33.16, 53.83, -71.91)
CIE-LCHlch(33.16, 89.83, 306.82°)
OKLaboklab(44.79% 0.0558 -0.2072)
OKLCHoklch(44.79% 0.215 285.1)
XYZxyz(14.2654, 7.6099, 52.3363)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DC3 #9EC32D
analogous
#2D53C3 #522DC3 #9D2DC3
triadic
#522DC3 #C3522D #2DC352
tetradic
#522DC3 #C32D53 #9EC32D #2DC39D
square
#522DC3 #C32D53 #9EC32D #2DC39D
split-complementary
#522DC3 #C39D2D #53C32D
monochromatic
#281660 #3D2291 #522DC3 #7655D8 #9E87E3

Accessibility & contrast

On white

8.33
#522DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#522DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DC3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DC3#FFFFFF#000000##FFFFFF
##522DC31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#135877
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #522dc3;
/* rgb */ color: rgb(82, 45, 195);
/* oklch */ color: oklch(44.8% 0.215 285.1);
Tailwind
colors: {
  custom: {
    50: '#906bd6',
    500: '#522dc3',
    950: '#000000',
  },
}
SCSS
$custom: #522dc3;
$custom-light: #906bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#522dc3",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 254.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.21456,
    "h": 285.1
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#522DC3
secondary
#BACD7F
accent
#E642BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #522DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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