#5322AF#5322AF

#5322AF is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.202 H 290.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5322AF
RGBrgb(83, 34, 175)
HSLhsl(261, 67%, 41%)
HSVhsv(261, 81%, 69%)
CMYKcmyk(52.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(29.61, 53.37, -65.90)
CIE-LCHlch(29.61, 84.81, 309.00°)
OKLaboklab(41.76% 0.0707 -0.1895)
OKLCHoklch(41.76% 0.202 290.5)
XYZxyz(11.8749, 6.0777, 41.0965)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322AF #7EAF22
analogous
#2237AF #5322AF #9922AF
triadic
#5322AF #AF5322 #22AF53
tetradic
#5322AF #AF2237 #7EAF22 #22AF99
square
#5322AF #AF2237 #7EAF22 #22AF99
split-complementary
#5322AF #AF9922 #37AF22
monochromatic
#220E49 #3B187C #5322AF #6E36D8 #9369E2

Accessibility & contrast

On white

9.48
#5322AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5322AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322AF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322AF#FFFFFF#000000##FFFFFF
##5322AF1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#314C69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5322af;
/* rgb */ color: rgb(83, 34, 175);
/* oklch */ color: oklch(41.8% 0.202 290.5);
Tailwind
colors: {
  custom: {
    50: '#8e64c8',
    500: '#5322af',
    950: '#000000',
  },
}
SCSS
$custom: #5322af;
$custom-light: #8e64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5322af",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 260.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.20224,
    "h": 290.5
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#5322AF
secondary
#A5C865
accent
#EA3DAE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5322AF

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

Preview Lab → · Contrast checker → · Palette generator →

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