#522A92#522A92

#522A92 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.161 H 295.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#522A92
RGBrgb(82, 42, 146)
HSLhsl(263, 55%, 37%)
HSVhsv(263, 71%, 57%)
CMYKcmyk(43.8%, 71.2%, 0%, 42.7%)
CIE-LABlab(28.18, 41.56, -50.64)
CIE-LCHlch(28.18, 65.51, 309.38°)
OKLaboklab(39.92% 0.0701 -0.1448)
OKLCHoklch(39.92% 0.161 295.8)
XYZxyz(9.4946, 5.5249, 27.7547)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A92 #6A922A
analogous
#2A3692 #522A92 #862A92
triadic
#522A92 #92522A #2A9252
tetradic
#522A92 #922A36 #6A922A #2A9286
square
#522A92 #922A36 #6A922A #2A9286
split-complementary
#522A92 #92862A #36922A
monochromatic
#1D0F33 #371C62 #522A92 #6D38C2 #8E64D2

Accessibility & contrast

On white

9.98
#522A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522A92
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A92#FFFFFF#000000##FFFFFF
##522A921.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#41445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522a92;
/* rgb */ color: rgb(82, 42, 146);
/* oklch */ color: oklch(39.9% 0.161 295.8);
Tailwind
colors: {
  custom: {
    50: '#8967b3',
    500: '#522a92',
    950: '#000000',
  },
}
SCSS
$custom: #522a92;
$custom-light: #8967b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522a92",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 263.077,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.16088,
    "h": 295.8
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#522A92
secondary
#96B85F
accent
#DF49A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522A92

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

Preview Lab → · Contrast checker → · Palette generator →

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