#522ABE#522ABE

#522ABE is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.212 H 286.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#522ABE
RGBrgb(82, 42, 190)
HSLhsl(256, 64%, 45%)
HSVhsv(256, 78%, 75%)
CMYKcmyk(56.8%, 77.9%, 0%, 25.5%)
CIE-LABlab(32.18, 53.83, -70.58)
CIE-LCHlch(32.18, 88.76, 307.33°)
OKLaboklab(43.97% 0.0592 -0.2032)
OKLCHoklch(43.97% 0.212 286.2)
XYZxyz(13.5991, 7.1667, 49.3719)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522ABE #96BE2A
analogous
#2A4CBE #522ABE #9C2ABE
triadic
#522ABE #BE522A #2ABE52
tetradic
#522ABE #BE2A4C #96BE2A #2ABE9C
square
#522ABE #BE2A4C #96BE2A #2ABE9C
split-complementary
#522ABE #BE9C2A #4CBE2A
monochromatic
#27145A #3C1F8C #522ABE #734DD8 #9A80E3

Accessibility & contrast

On white

8.63
#522ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#522ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522ABE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522ABE#FFFFFF#000000##FFFFFF
##522ABE1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC2
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#1D5573
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #522abe;
/* rgb */ color: rgb(82, 42, 190);
/* oklch */ color: oklch(44.0% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f69d3',
    500: '#522abe',
    950: '#000000',
  },
}
SCSS
$custom: #522abe;
$custom-light: #8f69d3;
$custom-dark: #000000;
JSON
{
  "hex": "#522abe",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 190
  },
  "hsl": {
    "h": 256.216,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.21168,
    "h": 286.2
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#522ABE
secondary
#B5CB78
accent
#E741BA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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