#5337CE#5337CE

#5337CE is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.217 H 282.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5337CE
RGBrgb(83, 55, 206)
HSLhsl(251, 61%, 51%)
HSVhsv(251, 73%, 81%)
CMYKcmyk(59.7%, 73.3%, 0%, 19.2%)
CIE-LABlab(36.04, 52.19, -73.59)
CIE-LCHlch(36.04, 90.22, 305.35°)
OKLaboklab(47.15% 0.0476 -0.2121)
OKLCHoklch(47.15% 0.217 282.7)
XYZxyz(16.0706, 9.0265, 59.2760)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337CE #B2CE37
analogous
#3766CE #5337CE #9E37CE
triadic
#5337CE #CE5337 #37CE53
tetradic
#5337CE #CE3766 #B2CE37 #37CE9E
square
#5337CE #CE3766 #B2CE37 #37CE9E
split-complementary
#5337CE #CE9E37 #66CE37
monochromatic
#2B1B6F #3E27A0 #5337CE #7D68DA #A899E6

Accessibility & contrast

On white

7.49
#5337CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5337CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337CE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337CE#FFFFFF#000000##FFFFFF
##5337CE1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004FCB
Tritanopia (blue-blind)
#006180
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5337ce;
/* rgb */ color: rgb(83, 55, 206);
/* oklch */ color: oklch(47.2% 0.217 282.7);
Tailwind
colors: {
  custom: {
    50: '#9171de',
    500: '#5337ce',
    950: '#000000',
  },
}
SCSS
$custom: #5337ce;
$custom-light: #9171de;
$custom-dark: #000000;
JSON
{
  "hex": "#5337ce",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 251.126,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.2174,
    "h": 282.7
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#5337CE
secondary
#C5D28F
accent
#E444C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337CE

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

Preview Lab → · Contrast checker → · Palette generator →

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