#522B93#522B93

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

Color values

HEX#522B93
RGBrgb(82, 43, 147)
HSLhsl(263, 55%, 37%)
HSVhsv(263, 71%, 58%)
CMYKcmyk(44.2%, 70.7%, 0%, 42.4%)
CIE-LABlab(28.45, 41.31, -50.81)
CIE-LCHlch(28.45, 65.48, 309.11°)
OKLaboklab(40.14% 0.0689 -0.1453)
OKLCHoklch(40.14% 0.161 295.4)
XYZxyz(9.6086, 5.6279, 28.1782)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B93 #6C932B
analogous
#2B3893 #522B93 #862B93
triadic
#522B93 #93522B #2B9352
tetradic
#522B93 #932B38 #6C932B #2B9386
square
#522B93 #932B38 #6C932B #2B9386
split-complementary
#522B93 #93862B #38932B
monochromatic
#1D0F34 #381D64 #522B93 #6C39C2 #8F66D2

Accessibility & contrast

On white

9.88
#522B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522B93
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B93#FFFFFF#000000##FFFFFF
##522B931.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#40455B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522b93;
/* rgb */ color: rgb(82, 43, 147);
/* oklch */ color: oklch(40.1% 0.161 295.4);
Tailwind
colors: {
  custom: {
    50: '#8967b4',
    500: '#522b93',
    950: '#000000',
  },
}
SCSS
$custom: #522b93;
$custom-light: #8967b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522b93",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 262.5,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.16081,
    "h": 295.4
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#522B93
secondary
#98B961
accent
#DE4AA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522B93

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

Preview Lab → · Contrast checker → · Palette generator →

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