#5322A9#5322A9

#5322A9 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.196 H 291.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5322A9
RGBrgb(83, 34, 169)
HSLhsl(262, 67%, 40%)
HSVhsv(262, 80%, 66%)
CMYKcmyk(50.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(29.02, 51.78, -63.26)
CIE-LCHlch(29.02, 81.75, 309.30°)
OKLaboklab(41.18% 0.0727 -0.1817)
OKLCHoklch(41.18% 0.196 291.8)
XYZxyz(11.2987, 5.8472, 38.0617)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322A9 #78A922
analogous
#2234A9 #5322A9 #9722A9
triadic
#5322A9 #A95322 #22A953
tetradic
#5322A9 #A92234 #78A922 #22A997
square
#5322A9 #A92234 #78A922 #22A997
split-complementary
#5322A9 #A99722 #34A922
monochromatic
#210D43 #3A1876 #5322A9 #6E32D6 #9265E0

Accessibility & contrast

On white

9.68
#5322A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5322A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322A9
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322A9#FFFFFF#000000##FFFFFF
##5322A91.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#364966
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5322a9;
/* rgb */ color: rgb(83, 34, 169);
/* oklch */ color: oklch(41.2% 0.196 291.8);
Tailwind
colors: {
  custom: {
    50: '#8d64c4',
    500: '#5322a9',
    950: '#000000',
  },
}
SCSS
$custom: #5322a9;
$custom-light: #8d64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5322a9",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 261.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.19573,
    "h": 291.8
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#5322A9
secondary
#A1C561
accent
#E93EAB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5322A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5322A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva