#5331CC#5331CC

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

Color values

HEX#5331CC
RGBrgb(83, 49, 204)
HSLhsl(253, 61%, 50%)
HSVhsv(253, 76%, 80%)
CMYKcmyk(59.3%, 76%, 0%, 20%)
CIE-LABlab(34.79, 54.60, -74.48)
CIE-LCHlch(34.79, 92.35, 306.25°)
OKLaboklab(46.22% 0.0522 -0.2147)
OKLCHoklch(46.22% 0.221 283.7)
XYZxyz(15.5613, 8.3942, 57.9153)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331CC #AACC31
analogous
#315DCC #5331CC #A031CC
triadic
#5331CC #CC5331 #31CC53
tetradic
#5331CC #CC315D #AACC31 #31CCA0
square
#5331CC #CC315D #AACC31 #31CCA0
split-complementary
#5331CC #CCA031 #5DCC31
monochromatic
#2B1969 #3F259B #5331CC #7B61D9 #A592E5

Accessibility & contrast

On white

7.84
#5331CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5331CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331CC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331CC#FFFFFF#000000##FFFFFF
##5331CC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5331cc;
/* rgb */ color: rgb(83, 49, 204);
/* oklch */ color: oklch(46.2% 0.221 283.7);
Tailwind
colors: {
  custom: {
    50: '#916edd',
    500: '#5331cc',
    950: '#000000',
  },
}
SCSS
$custom: #5331cc;
$custom-light: #916edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5331cc",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 253.161,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.22092,
    "h": 283.7
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#5331CC
secondary
#C0D089
accent
#E443C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5331CC

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

Preview Lab → · Contrast checker → · Palette generator →

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