#5337CA#5337CA

#5337CA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.213 H 283.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5337CA
RGBrgb(83, 55, 202)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 73%, 79%)
CMYKcmyk(58.9%, 72.8%, 0%, 20.8%)
CIE-LABlab(35.66, 51.01, -71.88)
CIE-LCHlch(35.66, 88.14, 305.37°)
OKLaboklab(46.78% 0.0485 -0.2071)
OKLCHoklch(46.78% 0.213 283.2)
XYZxyz(15.5908, 8.8346, 56.7494)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337CA #AECA37
analogous
#3764CA #5337CA #9D37CA
triadic
#5337CA #CA5337 #37CA53
tetradic
#5337CA #CA3764 #AECA37 #37CA9D
square
#5337CA #CA3764 #AECA37 #37CA9D
split-complementary
#5337CA #CA9D37 #64CA37
monochromatic
#2B1C6A #3F299B #5337CA #7D67D7 #A698E4

Accessibility & contrast

On white

7.59
#5337CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5337CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337CA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337CA#FFFFFF#000000##FFFFFF
##5337CA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5337ca;
/* rgb */ color: rgb(83, 55, 202);
/* oklch */ color: oklch(46.8% 0.213 283.2);
Tailwind
colors: {
  custom: {
    50: '#9071db',
    500: '#5337ca',
    950: '#000000',
  },
}
SCSS
$custom: #5337ca;
$custom-light: #9071db;
$custom-dark: #000000;
JSON
{
  "hex": "#5337ca",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 251.429,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.21272,
    "h": 283.2
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#5337CA
secondary
#C3CF8E
accent
#E146C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337CA

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

Preview Lab → · Contrast checker → · Palette generator →

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