#5322C4#5322C4

#5322C4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.225 H 286.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#5322C4
RGBrgb(83, 34, 196)
HSLhsl(258, 70%, 45%)
HSVhsv(258, 83%, 77%)
CMYKcmyk(57.7%, 82.7%, 0%, 23.1%)
CIE-LABlab(31.73, 58.94, -74.84)
CIE-LCHlch(31.73, 95.27, 308.22°)
OKLaboklab(43.86% 0.0635 -0.2156)
OKLCHoklch(43.86% 0.225 286.4)
XYZxyz(14.1001, 6.9678, 52.8158)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322C4 #93C422
analogous
#2242C4 #5322C4 #A422C4
triadic
#5322C4 #C45322 #22C453
tetradic
#5322C4 #C42242 #93C422 #22C4A4
square
#5322C4 #C42242 #93C422 #22C4A4
split-complementary
#5322C4 #C4A422 #42C422
monochromatic
#27105C #3D1990 #5322C4 #7345DF #9A79E8

Accessibility & contrast

On white

8.77
#5322C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5322C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322C4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322C4#FFFFFF#000000##FFFFFF
##5322C41.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#175475
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5322c4;
/* rgb */ color: rgb(83, 34, 196);
/* oklch */ color: oklch(43.9% 0.225 286.4);
Tailwind
colors: {
  custom: {
    50: '#9165d7',
    500: '#5322c4',
    950: '#000000',
  },
}
SCSS
$custom: #5322c4;
$custom-light: #9165d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5322c4",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 196
  },
  "hsl": {
    "h": 258.148,
    "s": 70.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.22475,
    "h": 286.4
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#5322C4
secondary
#B3CF73
accent
#ED3BB7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5322C4

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

Preview Lab → · Contrast checker → · Palette generator →

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