#522996#522996

#522996 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.167 H 294.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#522996
RGBrgb(82, 41, 150)
HSLhsl(263, 57%, 37%)
HSVhsv(263, 73%, 59%)
CMYKcmyk(45.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(28.33, 43.19, -52.85)
CIE-LCHlch(28.33, 68.25, 309.25°)
OKLaboklab(40.13% 0.0704 -0.1513)
OKLCHoklch(40.13% 0.167 294.9)
XYZxyz(9.7762, 5.5815, 29.4105)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522996 #6D9629
analogous
#293696 #522996 #892996
triadic
#522996 #965229 #299652
tetradic
#522996 #962936 #6D9629 #299689
square
#522996 #962936 #6D9629 #299689
split-complementary
#522996 #968929 #369629
monochromatic
#1D0F36 #381C66 #522996 #6C36C6 #8F65D5

Accessibility & contrast

On white

9.92
#522996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#522996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522996
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522996#FFFFFF#000000##FFFFFF
##5229961.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#3F455D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522996;
/* rgb */ color: rgb(82, 41, 150);
/* oklch */ color: oklch(40.1% 0.167 294.9);
Tailwind
colors: {
  custom: {
    50: '#8966b6',
    500: '#522996',
    950: '#000000',
  },
}
SCSS
$custom: #522996;
$custom-light: #8966b6;
$custom-dark: #000000;
JSON
{
  "hex": "#522996",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 262.569,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.16686,
    "h": 294.9
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#522996
secondary
#99BB60
accent
#E047A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522996

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

Preview Lab → · Contrast checker → · Palette generator →

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