#5337C4#5337C4

#5337C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.2% C 0.206 H 284.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5337C4
RGBrgb(83, 55, 196)
HSLhsl(252, 56%, 49%)
HSVhsv(252, 72%, 77%)
CMYKcmyk(57.7%, 71.9%, 0%, 23.1%)
CIE-LABlab(35.12, 49.24, -69.28)
CIE-LCHlch(35.12, 84.99, 305.40°)
OKLaboklab(46.22% 0.0498 -0.1995)
OKLCHoklch(46.22% 0.206 284)
XYZxyz(14.8942, 8.5560, 53.0805)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337C4 #A8C437
analogous
#3762C4 #5337C4 #9A37C4
triadic
#5337C4 #C45337 #37C453
tetradic
#5337C4 #C43762 #A8C437 #37C49A
square
#5337C4 #C43762 #A8C437 #37C49A
split-complementary
#5337C4 #C49A37 #62C437
monochromatic
#2B1C64 #3F2A94 #5337C4 #7B65D4 #A494E1

Accessibility & contrast

On white

7.75
#5337C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5337C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337C4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337C4#FFFFFF#000000##FFFFFF
##5337C41.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#145D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5337c4;
/* rgb */ color: rgb(83, 55, 196);
/* oklch */ color: oklch(46.2% 0.206 284.0);
Tailwind
colors: {
  custom: {
    50: '#8f71d7',
    500: '#5337c4',
    950: '#000000',
  },
}
SCSS
$custom: #5337c4;
$custom-light: #8f71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5337c4",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 251.915,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.20562,
    "h": 284
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#5337C4
secondary
#BFCC8B
accent
#DF48C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337C4

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

Preview Lab → · Contrast checker → · Palette generator →

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