#522D92#522D92

#522D92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.157 H 295.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#522D92
RGBrgb(82, 45, 146)
HSLhsl(262, 53%, 37%)
HSVhsv(262, 69%, 57%)
CMYKcmyk(43.8%, 69.2%, 0%, 42.7%)
CIE-LABlab(28.76, 39.95, -49.69)
CIE-LCHlch(28.76, 63.76, 308.80°)
OKLaboklab(40.34% 0.067 -0.142)
OKLCHoklch(40.34% 0.157 295.2)
XYZxyz(9.6050, 5.7457, 27.7915)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D92 #6D922D
analogous
#2D3B92 #522D92 #852D92
triadic
#522D92 #92522D #2D9252
tetradic
#522D92 #922D3B #6D922D #2D9285
square
#522D92 #922D3B #6D922D #2D9285
split-complementary
#522D92 #92852D #3B922D
monochromatic
#1D1034 #381F63 #522D92 #6C3BC1 #8F69D1

Accessibility & contrast

On white

9.77
#522D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#522D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D92
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D92#FFFFFF#000000##FFFFFF
##522D921.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#41455C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #522d92;
/* rgb */ color: rgb(82, 45, 146);
/* oklch */ color: oklch(40.3% 0.157 295.2);
Tailwind
colors: {
  custom: {
    50: '#8869b3',
    500: '#522d92',
    950: '#000000',
  },
}
SCSS
$custom: #522d92;
$custom-light: #8869b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522d92",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 261.98,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.15702,
    "h": 295.2
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#522D92
secondary
#99B763
accent
#DC4CA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522D92

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

Preview Lab → · Contrast checker → · Palette generator →

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