#522092#522092

#522092 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.172 H 297.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#522092
RGBrgb(82, 32, 146)
HSLhsl(266, 64%, 35%)
HSVhsv(266, 78%, 57%)
CMYKcmyk(43.8%, 78.1%, 0%, 42.7%)
CIE-LABlab(26.45, 46.44, -53.46)
CIE-LCHlch(26.45, 70.81, 310.98°)
OKLaboklab(38.7% 0.0796 -0.153)
OKLCHoklch(38.7% 0.173 297.5)
XYZxyz(9.1831, 4.9020, 27.6509)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522092 #609220
analogous
#202792 #522092 #8B2092
triadic
#522092 #925220 #209252
tetradic
#522092 #922027 #609220 #20928B
square
#522092 #922027 #609220 #20928B
split-complementary
#522092 #928B20 #279220
monochromatic
#1A0A2E #361560 #522092 #6E2BC4 #8E53D9

Accessibility & contrast

On white

10.60
#522092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#522092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522092
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522092#FFFFFF#000000##FFFFFF
##5220921.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#413F58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522092;
/* rgb */ color: rgb(82, 32, 146);
/* oklch */ color: oklch(38.7% 0.172 297.5);
Tailwind
colors: {
  custom: {
    50: '#8961b3',
    500: '#522092',
    950: '#000000',
  },
}
SCSS
$custom: #522092;
$custom-light: #8961b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522092",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 266.316,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.1725,
    "h": 297.5
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#522092
secondary
#8EBD51
accent
#E7419E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522092

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

Preview Lab → · Contrast checker → · Palette generator →

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