#522B92#522B92

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

Color values

HEX#522B92
RGBrgb(82, 43, 146)
HSLhsl(263, 54%, 37%)
HSVhsv(263, 71%, 57%)
CMYKcmyk(43.8%, 70.5%, 0%, 42.7%)
CIE-LABlab(28.37, 41.03, -50.33)
CIE-LCHlch(28.37, 64.93, 309.19°)
OKLaboklab(40.06% 0.0691 -0.1439)
OKLCHoklch(40.06% 0.16 295.6)
XYZxyz(9.5305, 5.5967, 27.7667)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B92 #6B922B
analogous
#2B3892 #522B92 #852B92
triadic
#522B92 #92522B #2B9252
tetradic
#522B92 #922B38 #6B922B #2B9285
square
#522B92 #922B38 #6B922B #2B9285
split-complementary
#522B92 #92852B #38922B
monochromatic
#1D0F33 #371D63 #522B92 #6D39C1 #8F66D2

Accessibility & contrast

On white

9.91
#522B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#522B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B92
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B92#FFFFFF#000000##FFFFFF
##522B921.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522b92;
/* rgb */ color: rgb(82, 43, 146);
/* oklch */ color: oklch(40.1% 0.160 295.6);
Tailwind
colors: {
  custom: {
    50: '#8867b3',
    500: '#522b92',
    950: '#000000',
  },
}
SCSS
$custom: #522b92;
$custom-light: #8867b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522b92",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 262.718,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.15961,
    "h": 295.6
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#522B92
secondary
#97B861
accent
#DE4AA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522B92

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

Preview Lab → · Contrast checker → · Palette generator →

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