#5322A8#5322A8

#5322A8 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.195 H 292.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5322A8
RGBrgb(83, 34, 168)
HSLhsl(262, 66%, 40%)
HSVhsv(262, 80%, 66%)
CMYKcmyk(50.6%, 79.8%, 0%, 34.1%)
CIE-LABlab(28.93, 51.52, -62.82)
CIE-LCHlch(28.93, 81.24, 309.36°)
OKLaboklab(41.08% 0.073 -0.1804)
OKLCHoklch(41.08% 0.195 292)
XYZxyz(11.2052, 5.8098, 37.5692)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322A8 #77A822
analogous
#2234A8 #5322A8 #9622A8
triadic
#5322A8 #A85322 #22A853
tetradic
#5322A8 #A82234 #77A822 #22A896
square
#5322A8 #A82234 #77A822 #22A896
split-complementary
#5322A8 #A89622 #34A822
monochromatic
#210D42 #3A1875 #5322A8 #6E32D5 #9265E0

Accessibility & contrast

On white

9.71
#5322A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5322A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322A8
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322A8#FFFFFF#000000##FFFFFF
##5322A81.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#364965
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5322a8;
/* rgb */ color: rgb(83, 34, 168);
/* oklch */ color: oklch(41.1% 0.195 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d64c3',
    500: '#5322a8',
    950: '#000000',
  },
}
SCSS
$custom: #5322a8;
$custom-light: #8d64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5322a8",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 261.94,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4108,
    "c": 0.19464,
    "h": 292
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#5322A8
secondary
#A0C561
accent
#E93FAB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5322A8

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

Preview Lab → · Contrast checker → · Palette generator →

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