#522192#522192

#522192 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.171 H 297.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#522192
RGBrgb(82, 33, 146)
HSLhsl(266, 63%, 35%)
HSVhsv(266, 77%, 57%)
CMYKcmyk(43.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(26.61, 45.99, -53.20)
CIE-LCHlch(26.61, 70.32, 310.84°)
OKLaboklab(38.81% 0.0788 -0.1523)
OKLCHoklch(38.81% 0.171 297.4)
XYZxyz(9.2105, 4.9567, 27.6600)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522192 #619221
analogous
#212892 #522192 #8B2192
triadic
#522192 #925221 #219252
tetradic
#522192 #922128 #619221 #21928B
square
#522192 #922128 #619221 #21928B
split-complementary
#522192 #928B21 #289221
monochromatic
#1A0A2E #361660 #522192 #6E2CC4 #8E55D9

Accessibility & contrast

On white

10.55
#522192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#522192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522192
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522192#FFFFFF#000000##FFFFFF
##5221921.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522192;
/* rgb */ color: rgb(82, 33, 146);
/* oklch */ color: oklch(38.8% 0.171 297.4);
Tailwind
colors: {
  custom: {
    50: '#8962b3',
    500: '#522192',
    950: '#000000',
  },
}
SCSS
$custom: #522192;
$custom-light: #8962b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522192",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 266.018,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38812,
    "c": 0.17144,
    "h": 297.4
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#522192
secondary
#8EBC53
accent
#E6429F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #522192

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

Preview Lab → · Contrast checker → · Palette generator →

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