#5337BB#5337BB

#5337BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.195 H 285.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5337BB
RGBrgb(83, 55, 187)
HSLhsl(253, 55%, 47%)
HSVhsv(253, 71%, 73%)
CMYKcmyk(55.6%, 70.6%, 0%, 26.7%)
CIE-LABlab(34.31, 46.57, -65.31)
CIE-LCHlch(34.31, 80.22, 305.49°)
OKLaboklab(45.4% 0.0516 -0.1879)
OKLCHoklch(45.4% 0.195 285.4)
XYZxyz(13.9004, 8.1584, 47.8464)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337BB #9FBB37
analogous
#375DBB #5337BB #9537BB
triadic
#5337BB #BB5337 #37BB53
tetradic
#5337BB #BB375D #9FBB37 #37BB95
square
#5337BB #BB375D #9FBB37 #37BB95
split-complementary
#5337BB #BB9537 #5DBB37
monochromatic
#291B5C #3E298C #5337BB #775FD0 #9F8EDE

Accessibility & contrast

On white

7.98
#5337BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5337BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337BB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337BB#FFFFFF#000000##FFFFFF
##5337BB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#235A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5337bb;
/* rgb */ color: rgb(83, 55, 187);
/* oklch */ color: oklch(45.4% 0.195 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e70d1',
    500: '#5337bb',
    950: '#000000',
  },
}
SCSS
$custom: #5337bb;
$custom-light: #8e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5337bb",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 252.727,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.19484,
    "h": 285.4
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#5337BB
secondary
#BAC985
accent
#DE4ABF
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5337BB

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

Preview Lab → · Contrast checker → · Palette generator →

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