#522DB0#522DB0

#522DB0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.193 H 288.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#522DB0
RGBrgb(82, 45, 176)
HSLhsl(257, 59%, 43%)
HSVhsv(257, 74%, 69%)
CMYKcmyk(53.4%, 74.4%, 0%, 31%)
CIE-LABlab(31.36, 48.45, -63.63)
CIE-LCHlch(31.36, 79.97, 307.29°)
OKLaboklab(42.98% 0.0608 -0.1829)
OKLCHoklch(42.98% 0.193 288.4)
XYZxyz(12.2522, 6.8046, 41.7337)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DB0 #8BB02D
analogous
#2D49B0 #522DB0 #932DB0
triadic
#522DB0 #B0522D #2DB052
tetradic
#522DB0 #B02D49 #8BB02D #2DB093
square
#522DB0 #B02D49 #8BB02D #2DB093
split-complementary
#522DB0 #B0932D #49B02D
monochromatic
#25144F #3B217F #522DB0 #704AD1 #967ADD

Accessibility & contrast

On white

8.89
#522DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#522DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DB0
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DB0#FFFFFF#000000##FFFFFF
##522DB01.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#2D516C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #522db0;
/* rgb */ color: rgb(82, 45, 176);
/* oklch */ color: oklch(43.0% 0.193 288.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ac9',
    500: '#522db0',
    950: '#000000',
  },
}
SCSS
$custom: #522db0;
$custom-light: #8c6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#522db0",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 256.947,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.19278,
    "h": 288.4
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#522DB0
secondary
#AEC573
accent
#E245B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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