#522690#522690

#522690 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.163 H 297.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#522690
RGBrgb(82, 38, 144)
HSLhsl(265, 58%, 36%)
HSVhsv(265, 74%, 56%)
CMYKcmyk(43.1%, 73.6%, 0%, 43.5%)
CIE-LABlab(27.28, 43.07, -50.87)
CIE-LCHlch(27.28, 66.66, 310.25°)
OKLaboklab(39.23% 0.0746 -0.1455)
OKLCHoklch(39.23% 0.163 297.1)
XYZxyz(9.2055, 5.1935, 26.8976)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522690 #649026
analogous
#262F90 #522690 #872690
triadic
#522690 #905226 #269052
tetradic
#522690 #90262F #649026 #269087
square
#522690 #90262F #649026 #269087
split-complementary
#522690 #908726 #2F9026
monochromatic
#1B0C2F #361960 #522690 #6E33C0 #8E5CD4

Accessibility & contrast

On white

10.30
#522690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#522690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522690
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522690#FFFFFF#000000##FFFFFF
##5226901.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#424158
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522690;
/* rgb */ color: rgb(82, 38, 144);
/* oklch */ color: oklch(39.2% 0.163 297.1);
Tailwind
colors: {
  custom: {
    50: '#8964b1',
    500: '#522690',
    950: '#000000',
  },
}
SCSS
$custom: #522690;
$custom-light: #8964b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522690",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 264.906,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.16347,
    "h": 297.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#522690
secondary
#91B959
accent
#E146A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522690

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

Preview Lab → · Contrast checker → · Palette generator →

#522690 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva