#522ABA#522ABA

#522ABA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.207 H 286.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#522ABA
RGBrgb(82, 42, 186)
HSLhsl(257, 63%, 45%)
HSVhsv(257, 77%, 73%)
CMYKcmyk(55.9%, 77.4%, 0%, 27.1%)
CIE-LABlab(31.79, 52.71, -68.86)
CIE-LCHlch(31.79, 86.72, 307.44°)
OKLaboklab(43.58% 0.0604 -0.1982)
OKLCHoklch(43.58% 0.207 286.9)
XYZxyz(13.1679, 6.9942, 47.1010)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522ABA #92BA2A
analogous
#2A4ABA #522ABA #9A2ABA
triadic
#522ABA #BA522A #2ABA52
tetradic
#522ABA #BA2A4A #92BA2A #2ABA9A
square
#522ABA #BA2A4A #92BA2A #2ABA9A
split-complementary
#522ABA #BA9A2A #4ABA2A
monochromatic
#261356 #3C1F88 #522ABA #724BD6 #997DE2

Accessibility & contrast

On white

8.75
#522ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#522ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522ABA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522ABA#FFFFFF#000000##FFFFFF
##522ABA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#225371
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #522aba;
/* rgb */ color: rgb(82, 42, 186);
/* oklch */ color: oklch(43.6% 0.207 286.9);
Tailwind
colors: {
  custom: {
    50: '#8e69d0',
    500: '#522aba',
    950: '#000000',
  },
}
SCSS
$custom: #522aba;
$custom-light: #8e69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#522aba",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 256.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.2072,
    "h": 286.9
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#522ABA
secondary
#B3CA76
accent
#E642B8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #522ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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