#522FA0#522FA0

#522FA0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.172 H 291.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#522FA0
RGBrgb(82, 47, 160)
HSLhsl(259, 55%, 41%)
HSVhsv(259, 71%, 63%)
CMYKcmyk(48.8%, 70.6%, 0%, 37.3%)
CIE-LABlab(30.31, 42.84, -55.71)
CIE-LCHlch(30.31, 70.28, 307.56°)
OKLaboklab(41.81% 0.0625 -0.1597)
OKLCHoklch(41.81% 0.172 291.4)
XYZxyz(10.8396, 6.3645, 33.9082)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FA0 #7DA02F
analogous
#2F44A0 #522FA0 #8A2FA0
triadic
#522FA0 #A0522F #2FA052
tetradic
#522FA0 #A02F44 #7DA02F #2FA08A
square
#522FA0 #A02F44 #7DA02F #2FA08A
split-complementary
#522FA0 #A08A2F #44A02F
monochromatic
#221341 #3A2171 #522FA0 #6D44C8 #9273D6

Accessibility & contrast

On white

9.24
#522FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#522FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FA0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FA0#FFFFFF#000000##FFFFFF
##522FA01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#394C64
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #522fa0;
/* rgb */ color: rgb(82, 47, 160);
/* oklch */ color: oklch(41.8% 0.172 291.4);
Tailwind
colors: {
  custom: {
    50: '#8a6abd',
    500: '#522fa0',
    950: '#000000',
  },
}
SCSS
$custom: #522fa0;
$custom-light: #8a6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#522fa0",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 258.584,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.17153,
    "h": 291.4
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#522FA0
secondary
#A5BE6D
accent
#DE4AB0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #522FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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