#5332AE#5332AE

#5332AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.185 H 288.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5332AE
RGBrgb(83, 50, 174)
HSLhsl(256, 55%, 44%)
HSVhsv(256, 71%, 68%)
CMYKcmyk(52.3%, 71.3%, 0%, 31.8%)
CIE-LABlab(32.20, 45.44, -61.04)
CIE-LCHlch(32.20, 76.10, 306.67°)
OKLaboklab(43.55% 0.0585 -0.1753)
OKLCHoklch(43.55% 0.185 288.4)
XYZxyz(12.3456, 7.1756, 40.7707)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332AE #8DAE32
analogous
#324FAE #5332AE #9132AE
triadic
#5332AE #AE5332 #32AE53
tetradic
#5332AE #AE324F #8DAE32 #32AE91
square
#5332AE #AE324F #8DAE32 #32AE91
split-complementary
#5332AE #AE9132 #4FAE32
monochromatic
#26174F #3C247E #5332AE #7150CD #9880DA

Accessibility & contrast

On white

8.62
#5332AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5332AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332AE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332AE#FFFFFF#000000##FFFFFF
##5332AE1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#31526C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5332ae;
/* rgb */ color: rgb(83, 50, 174);
/* oklch */ color: oklch(43.6% 0.185 288.4);
Tailwind
colors: {
  custom: {
    50: '#8c6dc7',
    500: '#5332ae',
    950: '#000000',
  },
}
SCSS
$custom: #5332ae;
$custom-light: #8c6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5332ae",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 255.968,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.18484,
    "h": 288.4
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#5332AE
secondary
#AFC478
accent
#DF49B7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5332AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5332AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva