#522E99#522E99

#522E99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.164 H 293.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#522E99
RGBrgb(82, 46, 153)
HSLhsl(260, 54%, 39%)
HSVhsv(260, 70%, 60%)
CMYKcmyk(46.4%, 69.9%, 0%, 40%)
CIE-LABlab(29.53, 41.39, -52.73)
CIE-LCHlch(29.53, 67.03, 308.13°)
OKLaboklab(41.07% 0.0648 -0.151)
OKLCHoklch(41.07% 0.164 293.2)
XYZxyz(10.2049, 6.0474, 30.7604)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E99 #75992E
analogous
#2E4099 #522E99 #882E99
triadic
#522E99 #99522E #2E9952
tetradic
#522E99 #992E40 #75992E #2E9988
square
#522E99 #992E40 #75992E #2E9988
split-complementary
#522E99 #99882E #40992E
monochromatic
#20123B #39206A #522E99 #6C3FC5 #906ED3

Accessibility & contrast

On white

9.50
#522E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#522E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E99
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E99#FFFFFF#000000##FFFFFF
##522E991.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#3D4960
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #522e99;
/* rgb */ color: rgb(82, 46, 153);
/* oklch */ color: oklch(41.1% 0.164 293.2);
Tailwind
colors: {
  custom: {
    50: '#8969b8',
    500: '#522e99',
    950: '#000000',
  },
}
SCSS
$custom: #522e99;
$custom-light: #8969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#522e99",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 260.187,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.16426,
    "h": 293.2
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#522E99
secondary
#9FBB68
accent
#DD4BAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522E99

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

Preview Lab → · Contrast checker → · Palette generator →

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