#522992#522992

#522992 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.162 H 296.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#522992
RGBrgb(82, 41, 146)
HSLhsl(263, 56%, 37%)
HSVhsv(263, 72%, 57%)
CMYKcmyk(43.8%, 71.9%, 0%, 42.7%)
CIE-LABlab(27.99, 42.09, -50.94)
CIE-LCHlch(27.99, 66.08, 309.56°)
OKLaboklab(39.79% 0.0712 -0.1457)
OKLCHoklch(39.79% 0.162 296)
XYZxyz(9.4595, 5.4548, 27.7430)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522992 #699229
analogous
#293492 #522992 #872992
triadic
#522992 #925229 #299252
tetradic
#522992 #922934 #699229 #299287
square
#522992 #922934 #699229 #299287
split-complementary
#522992 #928729 #349229
monochromatic
#1C0E32 #371C62 #522992 #6D36C2 #8E62D3

Accessibility & contrast

On white

10.04
#522992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#522992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522992
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522992#FFFFFF#000000##FFFFFF
##5229921.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#41435A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522992;
/* rgb */ color: rgb(82, 41, 146);
/* oklch */ color: oklch(39.8% 0.162 296.0);
Tailwind
colors: {
  custom: {
    50: '#8966b3',
    500: '#522992',
    950: '#000000',
  },
}
SCSS
$custom: #522992;
$custom-light: #8966b3;
$custom-dark: #000000;
JSON
{
  "hex": "#522992",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 263.429,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.16214,
    "h": 296
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#522992
secondary
#95B95E
accent
#DF48A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522992

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

Preview Lab → · Contrast checker → · Palette generator →

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