#522492#522492

#522492 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.168 H 296.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#522492
RGBrgb(82, 36, 146)
HSLhsl(265, 60%, 36%)
HSVhsv(265, 75%, 57%)
CMYKcmyk(43.8%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.10, 44.59, -52.39)
CIE-LCHlch(27.10, 68.80, 310.40°)
OKLaboklab(39.16% 0.076 -0.1499)
OKLCHoklch(39.16% 0.168 296.9)
XYZxyz(9.2975, 5.1307, 27.6890)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522492 #649224
analogous
#242D92 #522492 #892492
triadic
#522492 #925224 #249252
tetradic
#522492 #92242D #649224 #249289
square
#522492 #92242D #649224 #249289
split-complementary
#522492 #928924 #2D9224
monochromatic
#1B0C30 #361861 #522492 #6E30C3 #8E5AD6

Accessibility & contrast

On white

10.36
#522492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#522492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522492
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522492#FFFFFF#000000##FFFFFF
##5224921.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#414159
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522492;
/* rgb */ color: rgb(82, 36, 146);
/* oklch */ color: oklch(39.2% 0.168 296.9);
Tailwind
colors: {
  custom: {
    50: '#8963b3',
    500: '#522492',
    950: '#000000',
  },
}
SCSS
$custom: #522492;
$custom-light: #8963b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522492",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 265.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.1681,
    "h": 296.9
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#522492
secondary
#91BB57
accent
#E444A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522492

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

Preview Lab → · Contrast checker → · Palette generator →

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