#522592#522592

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

Color values

HEX#522592
RGBrgb(82, 37, 146)
HSLhsl(265, 60%, 36%)
HSVhsv(265, 75%, 57%)
CMYKcmyk(43.8%, 74.7%, 0%, 42.7%)
CIE-LABlab(27.28, 44.10, -52.11)
CIE-LCHlch(27.28, 68.27, 310.24°)
OKLaboklab(39.28% 0.0751 -0.1491)
OKLCHoklch(39.28% 0.167 296.7)
XYZxyz(9.3282, 5.1921, 27.6993)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522592 #659225
analogous
#252E92 #522592 #882592
triadic
#522592 #925225 #259252
tetradic
#522592 #92252E #659225 #259288
square
#522592 #92252E #659225 #259288
split-complementary
#522592 #928825 #2E9225
monochromatic
#1B0C30 #371961 #522592 #6D31C3 #8E5CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##522592#FFFFFF#000000##FFFFFF
##5225921.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)
#004195
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#414159
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522592;
/* rgb */ color: rgb(82, 37, 146);
/* oklch */ color: oklch(39.3% 0.167 296.7);
Tailwind
colors: {
  custom: {
    50: '#8964b3',
    500: '#522592',
    950: '#000000',
  },
}
SCSS
$custom: #522592;
$custom-light: #8964b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522592",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 264.771,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39279,
    "c": 0.16695,
    "h": 296.7
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#522592
secondary
#92BA58
accent
#E345A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522592

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

Preview Lab → · Contrast checker → · Palette generator →

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