#522FC9#522FC9

#522FC9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.219 H 283.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#522FC9
RGBrgb(82, 47, 201)
HSLhsl(254, 62%, 49%)
HSVhsv(254, 77%, 79%)
CMYKcmyk(59.2%, 76.6%, 0%, 21.2%)
CIE-LABlab(34.07, 54.59, -73.92)
CIE-LCHlch(34.07, 91.89, 306.45°)
OKLaboklab(45.61% 0.0528 -0.213)
OKLCHoklch(45.61% 0.219 283.9)
XYZxyz(15.0356, 8.0429, 56.0072)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FC9 #A6C92F
analogous
#2F59C9 #522FC9 #9F2FC9
triadic
#522FC9 #C9522F #2FC952
tetradic
#522FC9 #C92F59 #A6C92F #2FC99F
square
#522FC9 #C92F59 #A6C92F #2FC99F
split-complementary
#522FC9 #C99F2F #59C92F
monochromatic
#2A1866 #3E2397 #522FC9 #795CD9 #A28EE5

Accessibility & contrast

On white

8.05
#522FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#522FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FC9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FC9#FFFFFF#000000##FFFFFF
##522FC91.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #522fc9;
/* rgb */ color: rgb(82, 47, 201);
/* oklch */ color: oklch(45.6% 0.219 283.9);
Tailwind
colors: {
  custom: {
    50: '#906cdb',
    500: '#522fc9',
    950: '#000000',
  },
}
SCSS
$custom: #522fc9;
$custom-light: #906cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#522fc9",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 253.636,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.21949,
    "h": 283.9
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#522FC9
secondary
#BECF85
accent
#E543C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #522FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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