#522E89#522E89

#522E89 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.145 H 297.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#522E89
RGBrgb(82, 46, 137)
HSLhsl(264, 50%, 36%)
HSVhsv(264, 66%, 54%)
CMYKcmyk(40.1%, 66.4%, 0%, 46.3%)
CIE-LABlab(28.26, 36.89, -44.94)
CIE-LCHlch(28.26, 58.14, 309.38°)
OKLaboklab(39.75% 0.067 -0.1281)
OKLCHoklch(39.75% 0.145 297.6)
XYZxyz(8.9709, 5.5538, 24.2614)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E89 #65892E
analogous
#2E3789 #522E89 #7F2E89
triadic
#522E89 #89522E #2E8952
tetradic
#522E89 #892E37 #65892E #2E897F
square
#522E89 #892E37 #65892E #2E897F
split-complementary
#522E89 #897F2E #37892E
monochromatic
#1B0F2D #371F5B #522E89 #6D3DB7 #8E66CC

Accessibility & contrast

On white

9.95
#522E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#522E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E89
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E89#FFFFFF#000000##FFFFFF
##522E891.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#454357
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522e89;
/* rgb */ color: rgb(82, 46, 137);
/* oklch */ color: oklch(39.8% 0.145 297.6);
Tailwind
colors: {
  custom: {
    50: '#8769ac',
    500: '#522e89',
    950: '#000000',
  },
}
SCSS
$custom: #522e89;
$custom-light: #8769ac;
$custom-dark: #000000;
JSON
{
  "hex": "#522e89",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 263.736,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39752,
    "c": 0.14454,
    "h": 297.6
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#522E89
secondary
#92B260
accent
#D94FA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522E89

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

Preview Lab → · Contrast checker → · Palette generator →

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