#522DA3#522DA3

#522DA3 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.177 H 291.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#522DA3
RGBrgb(82, 45, 163)
HSLhsl(259, 57%, 41%)
HSVhsv(259, 72%, 64%)
CMYKcmyk(49.7%, 72.4%, 0%, 36.1%)
CIE-LABlab(30.19, 44.76, -57.73)
CIE-LCHlch(30.19, 73.04, 307.79°)
OKLaboklab(41.8% 0.0638 -0.1656)
OKLCHoklch(41.8% 0.177 291.1)
XYZxyz(11.0270, 6.3145, 35.2810)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DA3 #7EA32D
analogous
#2D43A3 #522DA3 #8D2DA3
triadic
#522DA3 #A3522D #2DA352
tetradic
#522DA3 #A32D43 #7EA32D #2DA38D
square
#522DA3 #A32D43 #7EA32D #2DA38D
split-complementary
#522DA3 #A38D2D #43A32D
monochromatic
#221343 #3A2073 #522DA3 #6D42CB #9272D8

Accessibility & contrast

On white

9.28
#522DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#522DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DA3
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DA3#FFFFFF#000000##FFFFFF
##522DA31.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#374C65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #522da3;
/* rgb */ color: rgb(82, 45, 163);
/* oklch */ color: oklch(41.8% 0.177 291.1);
Tailwind
colors: {
  custom: {
    50: '#8b69bf',
    500: '#522da3',
    950: '#000000',
  },
}
SCSS
$custom: #522da3;
$custom-light: #8b69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#522da3",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 258.814,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.17749,
    "h": 291.1
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#522DA3
secondary
#A5C06C
accent
#E048B0
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #522DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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