#522490#522490

#522490 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.166 H 297.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#522490
RGBrgb(82, 36, 144)
HSLhsl(266, 60%, 35%)
HSVhsv(266, 75%, 56%)
CMYKcmyk(43.1%, 75%, 0%, 43.5%)
CIE-LABlab(26.93, 44.05, -51.44)
CIE-LCHlch(26.93, 67.73, 310.58°)
OKLaboklab(38.98% 0.0765 -0.1471)
OKLCHoklch(38.98% 0.166 297.5)
XYZxyz(9.1433, 5.0690, 26.8768)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522490 #629024
analogous
#242C90 #522490 #882490
triadic
#522490 #905224 #249052
tetradic
#522490 #90242C #629024 #249088
square
#522490 #90242C #629024 #249088
split-complementary
#522490 #908824 #2C9024
monochromatic
#1A0C2E #36185F #522490 #6E30C1 #8E59D5

Accessibility & contrast

On white

10.43
#522490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#522490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522490
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522490#FFFFFF#000000##FFFFFF
##5224901.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#424058
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522490;
/* rgb */ color: rgb(82, 36, 144);
/* oklch */ color: oklch(39.0% 0.166 297.5);
Tailwind
colors: {
  custom: {
    50: '#8963b1',
    500: '#522490',
    950: '#000000',
  },
}
SCSS
$custom: #522490;
$custom-light: #8963b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522490",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 265.556,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.16583,
    "h": 297.5
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#522490
secondary
#8FBA56
accent
#E345A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522490

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

Preview Lab → · Contrast checker → · Palette generator →

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