#522C91#522C91

#522C91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.157 H 295.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#522C91
RGBrgb(82, 44, 145)
HSLhsl(263, 53%, 37%)
HSVhsv(263, 70%, 57%)
CMYKcmyk(43.4%, 69.7%, 0%, 43.1%)
CIE-LABlab(28.48, 40.22, -49.53)
CIE-LCHlch(28.48, 63.80, 309.08°)
OKLaboklab(40.11% 0.0682 -0.1415)
OKLCHoklch(40.11% 0.157 295.7)
XYZxyz(9.4898, 5.6393, 27.3711)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C91 #6B912C
analogous
#2C3991 #522C91 #852C91
triadic
#522C91 #91522C #2C9152
tetradic
#522C91 #912C39 #6B912C #2C9185
square
#522C91 #912C39 #6B912C #2C9185
split-complementary
#522C91 #91852C #39912C
monochromatic
#1D1033 #371E62 #522C91 #6D3AC0 #8F67D1

Accessibility & contrast

On white

9.87
#522C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#522C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C91
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C91#FFFFFF#000000##FFFFFF
##522C911.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#41445B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522c91;
/* rgb */ color: rgb(82, 44, 145);
/* oklch */ color: oklch(40.1% 0.157 295.7);
Tailwind
colors: {
  custom: {
    50: '#8868b2',
    500: '#522c91',
    950: '#000000',
  },
}
SCSS
$custom: #522c91;
$custom-light: #8868b2;
$custom-dark: #000000;
JSON
{
  "hex": "#522c91",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 262.574,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.15711,
    "h": 295.7
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#522C91
secondary
#97B762
accent
#DD4BA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522C91

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

Preview Lab → · Contrast checker → · Palette generator →

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