#522FAE#522FAE

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

Color values

HEX#522FAE
RGBrgb(82, 47, 174)
HSLhsl(257, 57%, 43%)
HSVhsv(257, 73%, 68%)
CMYKcmyk(52.9%, 73%, 0%, 31.8%)
CIE-LABlab(31.54, 46.86, -62.14)
CIE-LCHlch(31.54, 77.83, 307.02°)
OKLaboklab(43.06% 0.0596 -0.1786)
OKLCHoklch(43.06% 0.188 288.5)
XYZxyz(12.1339, 6.8823, 40.7252)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FAE #8BAE2F
analogous
#2F4CAE #522FAE #912FAE
triadic
#522FAE #AE522F #2FAE52
tetradic
#522FAE #AE2F4C #8BAE2F #2FAE91
square
#522FAE #AE2F4C #8BAE2F #2FAE91
split-complementary
#522FAE #AE912F #4CAE2F
monochromatic
#25154E #3B227E #522FAE #704CCF #967CDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##522FAE#FFFFFF#000000##FFFFFF
##522FAE1.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)
#004DB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#2F516C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #522fae;
/* rgb */ color: rgb(82, 47, 174);
/* oklch */ color: oklch(43.1% 0.188 288.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bc7',
    500: '#522fae',
    950: '#000000',
  },
}
SCSS
$custom: #522fae;
$custom-light: #8c6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#522fae",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 256.535,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.18827,
    "h": 288.5
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#522FAE
secondary
#AEC475
accent
#E147B6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #522FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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