#522392#522392

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

Color values

HEX#522392
RGBrgb(82, 35, 146)
HSLhsl(265, 61%, 35%)
HSVhsv(265, 76%, 57%)
CMYKcmyk(43.8%, 76%, 0%, 42.7%)
CIE-LABlab(26.94, 45.06, -52.67)
CIE-LCHlch(26.94, 69.32, 310.55°)
OKLaboklab(39.04% 0.077 -0.1507)
OKLCHoklch(39.04% 0.169 297.1)
XYZxyz(9.2677, 5.0710, 27.6791)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522392 #639223
analogous
#232C92 #522392 #892392
triadic
#522392 #925223 #239252
tetradic
#522392 #92232C #639223 #239289
square
#522392 #92232C #639223 #239289
split-complementary
#522392 #928923 #2C9223
monochromatic
#1B0B2F #361761 #522392 #6E2FC3 #8E58D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##522392#FFFFFF#000000##FFFFFF
##5223921.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)
#004095
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#414059
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522392;
/* rgb */ color: rgb(82, 35, 146);
/* oklch */ color: oklch(39.0% 0.169 297.1);
Tailwind
colors: {
  custom: {
    50: '#8963b3',
    500: '#522392',
    950: '#000000',
  },
}
SCSS
$custom: #522392;
$custom-light: #8963b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522392",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 265.405,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.16924,
    "h": 297.1
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#522392
secondary
#90BB55
accent
#E443A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522392

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

Preview Lab → · Contrast checker → · Palette generator →

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