#522190#522190

#522190 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.169 H 297.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#522190
RGBrgb(82, 33, 144)
HSLhsl(266, 63%, 35%)
HSVhsv(266, 77%, 56%)
CMYKcmyk(43.1%, 77.1%, 0%, 43.5%)
CIE-LABlab(26.43, 45.47, -52.25)
CIE-LCHlch(26.43, 69.27, 311.03°)
OKLaboklab(38.63% 0.0793 -0.1495)
OKLCHoklch(38.63% 0.169 297.9)
XYZxyz(9.0563, 4.8950, 26.8478)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522190 #5F9021
analogous
#212890 #522190 #892190
triadic
#522190 #905221 #219052
tetradic
#522190 #902128 #5F9021 #219089
square
#522190 #902128 #5F9021 #219089
split-complementary
#522190 #908921 #289021
monochromatic
#190A2C #36165E #522190 #6E2CC2 #8E54D8

Accessibility & contrast

On white

10.61
#522190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522190
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522190#FFFFFF#000000##FFFFFF
##5221901.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#423E57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522190;
/* rgb */ color: rgb(82, 33, 144);
/* oklch */ color: oklch(38.6% 0.169 297.9);
Tailwind
colors: {
  custom: {
    50: '#8962b1',
    500: '#522190',
    950: '#000000',
  },
}
SCSS
$custom: #522190;
$custom-light: #8962b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522190",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 266.486,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.16922,
    "h": 297.9
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#522190
secondary
#8DBB51
accent
#E6429D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522190

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

Preview Lab → · Contrast checker → · Palette generator →

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