#5332BA#5332BA

#5332BA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.199 H 286.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5332BA
RGBrgb(83, 50, 186)
HSLhsl(255, 58%, 46%)
HSVhsv(255, 73%, 73%)
CMYKcmyk(55.4%, 73.1%, 0%, 27.1%)
CIE-LABlab(33.27, 48.93, -66.42)
CIE-LCHlch(33.27, 82.49, 306.38°)
OKLaboklab(44.64% 0.0559 -0.1911)
OKLCHoklch(44.64% 0.199 286.3)
XYZxyz(13.5682, 7.6646, 47.2093)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332BA #99BA32
analogous
#3255BA #5332BA #9732BA
triadic
#5332BA #BA5332 #32BA53
tetradic
#5332BA #BA3255 #99BA32 #32BA97
square
#5332BA #BA3255 #99BA32 #32BA97
split-complementary
#5332BA #BA9732 #55BA32
monochromatic
#28185A #3D258A #5332BA #7557D2 #9D88DF

Accessibility & contrast

On white

8.29
#5332BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5332BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332BA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332BA#FFFFFF#000000##FFFFFF
##5332BA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#255773
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5332ba;
/* rgb */ color: rgb(83, 50, 186);
/* oklch */ color: oklch(44.6% 0.199 286.3);
Tailwind
colors: {
  custom: {
    50: '#8e6dd0',
    500: '#5332ba',
    950: '#000000',
  },
}
SCSS
$custom: #5332ba;
$custom-light: #8e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5332ba",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 254.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.19912,
    "h": 286.3
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#5332BA
secondary
#B7C97F
accent
#E147BC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5332BA

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

Preview Lab → · Contrast checker → · Palette generator →

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