#5337CC#5337CC

#5337CC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.215 H 282.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5337CC
RGBrgb(83, 55, 204)
HSLhsl(251, 59%, 51%)
HSVhsv(251, 73%, 80%)
CMYKcmyk(59.3%, 73%, 0%, 20%)
CIE-LABlab(35.85, 51.60, -72.74)
CIE-LCHlch(35.85, 89.18, 305.35°)
OKLaboklab(46.97% 0.0481 -0.2096)
OKLCHoklch(46.97% 0.215 282.9)
XYZxyz(15.8292, 8.9299, 58.0046)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337CC #B0CC37
analogous
#3765CC #5337CC #9D37CC
triadic
#5337CC #CC5337 #37CC53
tetradic
#5337CC #CC3765 #B0CC37 #37CC9D
square
#5337CC #CC3765 #B0CC37 #37CC9D
split-complementary
#5337CC #CC9D37 #65CC37
monochromatic
#2B1C6D #3E289E #5337CC #7D68D8 #A799E5

Accessibility & contrast

On white

7.54
#5337CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5337CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337CC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337CC#FFFFFF#000000##FFFFFF
##5337CC1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5337cc;
/* rgb */ color: rgb(83, 55, 204);
/* oklch */ color: oklch(47.0% 0.215 282.9);
Tailwind
colors: {
  custom: {
    50: '#9171dd',
    500: '#5337cc',
    950: '#000000',
  },
}
SCSS
$custom: #5337cc;
$custom-light: #9171dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5337cc",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 251.275,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.21506,
    "h": 282.9
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#5337CC
secondary
#C4D08E
accent
#E345C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337CC

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

Preview Lab → · Contrast checker → · Palette generator →

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