#522AC0#522AC0

#522AC0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.214 H 285.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#522AC0
RGBrgb(82, 42, 192)
HSLhsl(256, 64%, 46%)
HSVhsv(256, 78%, 75%)
CMYKcmyk(57.3%, 78.1%, 0%, 24.7%)
CIE-LABlab(32.38, 54.38, -71.43)
CIE-LCHlch(32.38, 89.78, 307.28°)
OKLaboklab(44.16% 0.0586 -0.2057)
OKLCHoklch(44.16% 0.214 285.9)
XYZxyz(13.8192, 7.2547, 50.5311)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522AC0 #98C02A
analogous
#2A4DC0 #522AC0 #9D2AC0
triadic
#522AC0 #C0522A #2AC052
tetradic
#522AC0 #C02A4D #98C02A #2AC09D
square
#522AC0 #C02A4D #98C02A #2AC09D
split-complementary
#522AC0 #C09D2A #4DC02A
monochromatic
#27145C #3D1F8E #522AC0 #734FD8 #9B81E3

Accessibility & contrast

On white

8.57
#522AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#522AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522AC0
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522AC0#FFFFFF#000000##FFFFFF
##522AC01.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#195675
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #522ac0;
/* rgb */ color: rgb(82, 42, 192);
/* oklch */ color: oklch(44.2% 0.214 285.9);
Tailwind
colors: {
  custom: {
    50: '#8f69d4',
    500: '#522ac0',
    950: '#000000',
  },
}
SCSS
$custom: #522ac0;
$custom-light: #8f69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#522ac0",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 256,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.21392,
    "h": 285.9
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#522AC0
secondary
#B6CC7A
accent
#E741BB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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