#5332AC#5332AC

#5332AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.182 H 288.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#5332AC
RGBrgb(83, 50, 172)
HSLhsl(256, 55%, 44%)
HSVhsv(256, 71%, 67%)
CMYKcmyk(51.7%, 70.9%, 0%, 32.5%)
CIE-LABlab(32.03, 44.86, -60.13)
CIE-LCHlch(32.03, 75.03, 306.73°)
OKLaboklab(43.37% 0.0589 -0.1727)
OKLCHoklch(43.37% 0.182 288.8)
XYZxyz(12.1521, 7.0982, 39.7515)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332AC #8BAC32
analogous
#324EAC #5332AC #9032AC
triadic
#5332AC #AC5332 #32AC53
tetradic
#5332AC #AC324E #8BAC32 #32AC90
square
#5332AC #AC324E #8BAC32 #32AC90
split-complementary
#5332AC #AC9032 #4EAC32
monochromatic
#25164D #3C247D #5332AC #714FCC #977FDA

Accessibility & contrast

On white

8.68
#5332AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5332AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332AC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332AC#FFFFFF#000000##FFFFFF
##5332AC1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#32526B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5332ac;
/* rgb */ color: rgb(83, 50, 172);
/* oklch */ color: oklch(43.4% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c6dc6',
    500: '#5332ac',
    950: '#000000',
  },
}
SCSS
$custom: #5332ac;
$custom-light: #8c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5332ac",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 256.23,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.18244,
    "h": 288.8
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#5332AC
secondary
#AEC377
accent
#DE4AB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5332AC

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

Preview Lab → · Contrast checker → · Palette generator →

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