#5332CC#5332CC

#5332CC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.220 H 283.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5332CC
RGBrgb(83, 50, 204)
HSLhsl(253, 61%, 50%)
HSVhsv(253, 75%, 80%)
CMYKcmyk(59.3%, 75.5%, 0%, 20%)
CIE-LABlab(34.96, 54.12, -74.20)
CIE-LCHlch(34.96, 91.84, 306.11°)
OKLaboklab(46.34% 0.0515 -0.2139)
OKLCHoklch(46.34% 0.22 283.5)
XYZxyz(15.6036, 8.4788, 57.9294)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332CC #ABCC32
analogous
#325ECC #5332CC #A032CC
triadic
#5332CC #CC5332 #32CC53
tetradic
#5332CC #CC325E #ABCC32 #32CCA0
square
#5332CC #CC325E #ABCC32 #32CCA0
split-complementary
#5332CC #CCA032 #5ECC32
monochromatic
#2B1A6A #3F269B #5332CC #7C63D9 #A594E5

Accessibility & contrast

On white

7.79
#5332CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5332CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332CC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332CC#FFFFFF#000000##FFFFFF
##5332CC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5332cc;
/* rgb */ color: rgb(83, 50, 204);
/* oklch */ color: oklch(46.3% 0.220 283.5);
Tailwind
colors: {
  custom: {
    50: '#916edd',
    500: '#5332cc',
    950: '#000000',
  },
}
SCSS
$custom: #5332cc;
$custom-light: #916edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5332cc",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 252.857,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.21998,
    "h": 283.5
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#5332CC
secondary
#C1D08A
accent
#E444C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5332CC

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

Preview Lab → · Contrast checker → · Palette generator →

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