#5337BC#5337BC

#5337BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.196 H 285.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5337BC
RGBrgb(83, 55, 188)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 74%)
CMYKcmyk(55.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(34.40, 46.87, -65.75)
CIE-LCHlch(34.40, 80.75, 305.48°)
OKLaboklab(45.49% 0.0514 -0.1892)
OKLCHoklch(45.49% 0.196 285.2)
XYZxyz(14.0078, 8.2014, 48.4121)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337BC #A0BC37
analogous
#375DBC #5337BC #9637BC
triadic
#5337BC #BC5337 #37BC53
tetradic
#5337BC #BC375D #A0BC37 #37BC96
square
#5337BC #BC375D #A0BC37 #37BC96
split-complementary
#5337BC #BC9637 #5DBC37
monochromatic
#291B5D #3E298D #5337BC #7760D0 #A08FDE

Accessibility & contrast

On white

7.95
#5337BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5337BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337BC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337BC#FFFFFF#000000##FFFFFF
##5337BC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#225A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5337bc;
/* rgb */ color: rgb(83, 55, 188);
/* oklch */ color: oklch(45.5% 0.196 285.2);
Tailwind
colors: {
  custom: {
    50: '#8e70d1',
    500: '#5337bc',
    950: '#000000',
  },
}
SCSS
$custom: #5337bc;
$custom-light: #8e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5337bc",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 252.632,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.19605,
    "h": 285.2
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#5337BC
secondary
#BBC986
accent
#DE4ABF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5337BC

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

Preview Lab → · Contrast checker → · Palette generator →

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