#522393#522393

#522393 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.170 H 296.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#522393
RGBrgb(82, 35, 147)
HSLhsl(265, 62%, 36%)
HSVhsv(265, 76%, 58%)
CMYKcmyk(44.2%, 76.2%, 0%, 42.4%)
CIE-LABlab(27.02, 45.33, -53.14)
CIE-LCHlch(27.02, 69.85, 310.46°)
OKLaboklab(39.13% 0.0767 -0.1521)
OKLCHoklch(39.13% 0.17 296.8)
XYZxyz(9.3458, 5.1023, 28.0905)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522393 #649323
analogous
#232C93 #522393 #8A2393
triadic
#522393 #935223 #239352
tetradic
#522393 #93232C #649323 #23938A
square
#522393 #93232C #649323 #23938A
split-complementary
#522393 #938A23 #2C9323
monochromatic
#1B0B30 #361762 #522393 #6E2FC4 #8E59D7

Accessibility & contrast

On white

10.39
#522393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#522393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522393
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522393#FFFFFF#000000##FFFFFF
##5223931.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522393;
/* rgb */ color: rgb(82, 35, 147);
/* oklch */ color: oklch(39.1% 0.170 296.8);
Tailwind
colors: {
  custom: {
    50: '#8963b4',
    500: '#522393',
    950: '#000000',
  },
}
SCSS
$custom: #522393;
$custom-light: #8963b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522393",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 265.179,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.17036,
    "h": 296.8
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#522393
secondary
#91BC56
accent
#E543A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522393

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

Preview Lab → · Contrast checker → · Palette generator →

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