#522EB0#522EB0

#522EB0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.192 H 288.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#522EB0
RGBrgb(82, 46, 176)
HSLhsl(257, 59%, 44%)
HSVhsv(257, 74%, 69%)
CMYKcmyk(53.4%, 73.9%, 0%, 31%)
CIE-LABlab(31.54, 47.95, -63.34)
CIE-LCHlch(31.54, 79.44, 307.13°)
OKLaboklab(43.11% 0.06 -0.1821)
OKLCHoklch(43.11% 0.192 288.2)
XYZxyz(12.2908, 6.8818, 41.7466)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EB0 #8CB02E
analogous
#2E4BB0 #522EB0 #932EB0
triadic
#522EB0 #B0522E #2EB052
tetradic
#522EB0 #B02E4B #8CB02E #2EB093
square
#522EB0 #B02E4B #8CB02E #2EB093
split-complementary
#522EB0 #B0932E #4BB02E
monochromatic
#25154F #3B217F #522EB0 #704BD0 #977CDD

Accessibility & contrast

On white

8.84
#522EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#522EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EB0
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EB0#FFFFFF#000000##FFFFFF
##522EB01.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#2D516C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #522eb0;
/* rgb */ color: rgb(82, 46, 176);
/* oklch */ color: oklch(43.1% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#8c6ac9',
    500: '#522eb0',
    950: '#000000',
  },
}
SCSS
$custom: #522eb0;
$custom-light: #8c6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#522eb0",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 256.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.19171,
    "h": 288.2
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#522EB0
secondary
#AFC575
accent
#E246B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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