#5332CB#5332CB

#5332CB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.219 H 283.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5332CB
RGBrgb(83, 50, 203)
HSLhsl(253, 60%, 50%)
HSVhsv(253, 75%, 80%)
CMYKcmyk(59.1%, 75.4%, 0%, 20.4%)
CIE-LABlab(34.86, 53.83, -73.77)
CIE-LCHlch(34.86, 91.33, 306.12°)
OKLaboklab(46.24% 0.0518 -0.2126)
OKLCHoklch(46.24% 0.219 283.7)
XYZxyz(15.4841, 8.4310, 57.2997)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332CB #AACB32
analogous
#325ECB #5332CB #9F32CB
triadic
#5332CB #CB5332 #32CB53
tetradic
#5332CB #CB325E #AACB32 #32CB9F
square
#5332CB #CB325E #AACB32 #32CB9F
split-complementary
#5332CB #CB9F32 #5ECB32
monochromatic
#2B1A69 #3F269A #5332CB #7B62D8 #A593E4

Accessibility & contrast

On white

7.82
#5332CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5332CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332CB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332CB#FFFFFF#000000##FFFFFF
##5332CB1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5332cb;
/* rgb */ color: rgb(83, 50, 203);
/* oklch */ color: oklch(46.2% 0.219 283.7);
Tailwind
colors: {
  custom: {
    50: '#916edc',
    500: '#5332cb',
    950: '#000000',
  },
}
SCSS
$custom: #5332cb;
$custom-light: #916edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5332cb",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 252.941,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46243,
    "c": 0.21883,
    "h": 283.7
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#5332CB
secondary
#C0CF89
accent
#E444C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5332CB

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

Preview Lab → · Contrast checker → · Palette generator →

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