#5322A5#5322A5

#5322A5 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.191 H 292.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#5322A5
RGBrgb(83, 34, 165)
HSLhsl(262, 66%, 39%)
HSVhsv(262, 79%, 65%)
CMYKcmyk(49.7%, 79.4%, 0%, 35.3%)
CIE-LABlab(28.64, 50.72, -61.48)
CIE-LCHlch(28.64, 79.70, 309.52°)
OKLaboklab(40.79% 0.074 -0.1765)
OKLCHoklch(40.79% 0.191 292.7)
XYZxyz(10.9289, 5.6993, 36.1142)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322A5 #74A522
analogous
#2233A5 #5322A5 #9522A5
triadic
#5322A5 #A55322 #22A553
tetradic
#5322A5 #A52233 #74A522 #22A595
square
#5322A5 #A52233 #74A522 #22A595
split-complementary
#5322A5 #A59522 #33A522
monochromatic
#200D40 #391872 #5322A5 #6D30D4 #9163DF

Accessibility & contrast

On white

9.81
#5322A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5322A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322A5
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322A5#FFFFFF#000000##FFFFFF
##5322A51.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#384763
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5322a5;
/* rgb */ color: rgb(83, 34, 165);
/* oklch */ color: oklch(40.8% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c64c1',
    500: '#5322a5',
    950: '#000000',
  },
}
SCSS
$custom: #5322a5;
$custom-light: #8c64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5322a5",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 262.443,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.19137,
    "h": 292.7
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#5322A5
secondary
#9EC45F
accent
#E93FA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5322A5

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

Preview Lab → · Contrast checker → · Palette generator →

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