#5337C9#5337C9

#5337C9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.212 H 283.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5337C9
RGBrgb(83, 55, 201)
HSLhsl(252, 57%, 50%)
HSVhsv(252, 73%, 79%)
CMYKcmyk(58.7%, 72.6%, 0%, 21.2%)
CIE-LABlab(35.57, 50.72, -71.45)
CIE-LCHlch(35.57, 87.62, 305.37°)
OKLaboklab(46.68% 0.0487 -0.2058)
OKLCHoklch(46.68% 0.212 283.3)
XYZxyz(15.4728, 8.7874, 56.1278)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337C9 #ADC937
analogous
#3764C9 #5337C9 #9C37C9
triadic
#5337C9 #C95337 #37C953
tetradic
#5337C9 #C93764 #ADC937 #37C99C
square
#5337C9 #C93764 #ADC937 #37C99C
split-complementary
#5337C9 #C99C37 #64C937
monochromatic
#2B1C69 #3F2999 #5337C9 #7C67D6 #A697E3

Accessibility & contrast

On white

7.62
#5337C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5337C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337C9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337C9#FFFFFF#000000##FFFFFF
##5337C91.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#045F7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5337c9;
/* rgb */ color: rgb(83, 55, 201);
/* oklch */ color: oklch(46.7% 0.212 283.3);
Tailwind
colors: {
  custom: {
    50: '#9071db',
    500: '#5337c9',
    950: '#000000',
  },
}
SCSS
$custom: #5337c9;
$custom-light: #9071db;
$custom-dark: #000000;
JSON
{
  "hex": "#5337c9",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 251.507,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.21154,
    "h": 283.3
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#5337C9
secondary
#C2CF8D
accent
#E147C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337C9

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

Preview Lab → · Contrast checker → · Palette generator →

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