#522FB0#522FB0

#522FB0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.191 H 288.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#522FB0
RGBrgb(82, 47, 176)
HSLhsl(256, 58%, 44%)
HSVhsv(256, 73%, 69%)
CMYKcmyk(53.4%, 73.3%, 0%, 31%)
CIE-LABlab(31.72, 47.43, -63.04)
CIE-LCHlch(31.72, 78.89, 306.96°)
OKLaboklab(43.24% 0.0592 -0.1812)
OKLCHoklch(43.24% 0.191 288.1)
XYZxyz(12.3304, 6.9609, 41.7597)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FB0 #8DB02F
analogous
#2F4CB0 #522FB0 #922FB0
triadic
#522FB0 #B0522F #2FB052
tetradic
#522FB0 #B02F4C #8DB02F #2FB092
square
#522FB0 #B02F4C #8DB02F #2FB092
split-complementary
#522FB0 #B0922F #4CB02F
monochromatic
#25154F #3B2280 #522FB0 #704DCF #977DDC

Accessibility & contrast

On white

8.78
#522FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#522FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FB0
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FB0#FFFFFF#000000##FFFFFF
##522FB01.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522fb0;
/* rgb */ color: rgb(82, 47, 176);
/* oklch */ color: oklch(43.2% 0.191 288.1);
Tailwind
colors: {
  custom: {
    50: '#8c6bc9',
    500: '#522fb0',
    950: '#000000',
  },
}
SCSS
$custom: #522fb0;
$custom-light: #8c6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#522fb0",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 256.279,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.19063,
    "h": 288.1
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#522FB0
secondary
#AFC576
accent
#E147B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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