#522DC0#522DC0

#522DC0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.211 H 285.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#522DC0
RGBrgb(82, 45, 192)
HSLhsl(255, 62%, 46%)
HSVhsv(255, 77%, 75%)
CMYKcmyk(57.3%, 76.6%, 0%, 24.7%)
CIE-LABlab(32.87, 52.99, -70.63)
CIE-LCHlch(32.87, 88.30, 306.88°)
OKLaboklab(44.5% 0.0566 -0.2034)
OKLCHoklch(44.5% 0.211 285.6)
XYZxyz(13.9296, 7.4756, 50.5679)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DC0 #9BC02D
analogous
#2D52C0 #522DC0 #9C2DC0
triadic
#522DC0 #C0522D #2DC052
tetradic
#522DC0 #C02D52 #9BC02D #2DC09C
square
#522DC0 #C02D52 #9BC02D #2DC09C
split-complementary
#522DC0 #C09C2D #52C02D
monochromatic
#28165D #3D218E #522DC0 #7453D7 #9D85E2

Accessibility & contrast

On white

8.42
#522DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#522DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DC0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DC0#FFFFFF#000000##FFFFFF
##522DC01.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#195775
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #522dc0;
/* rgb */ color: rgb(82, 45, 192);
/* oklch */ color: oklch(44.5% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f6bd4',
    500: '#522dc0',
    950: '#000000',
  },
}
SCSS
$custom: #522dc0;
$custom-light: #8f6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#522dc0",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 255.102,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.445,
    "c": 0.21116,
    "h": 285.6
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#522DC0
secondary
#B8CC7D
accent
#E543BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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