#5337BF#5337BF

#5337BF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.200 H 284.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5337BF
RGBrgb(83, 55, 191)
HSLhsl(252, 55%, 48%)
HSVhsv(252, 71%, 75%)
CMYKcmyk(56.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(34.67, 47.76, -67.08)
CIE-LCHlch(34.67, 82.35, 305.45°)
OKLaboklab(45.76% 0.0508 -0.1931)
OKLCHoklch(45.76% 0.2 284.7)
XYZxyz(14.3346, 8.3321, 50.1330)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337BF #A3BF37
analogous
#375FBF #5337BF #9737BF
triadic
#5337BF #BF5337 #37BF53
tetradic
#5337BF #BF375F #A3BF37 #37BF97
square
#5337BF #BF375F #A3BF37 #37BF97
split-complementary
#5337BF #BF9737 #5FBF37
monochromatic
#2A1C60 #3E298F #5337BF #7962D2 #A191DF

Accessibility & contrast

On white

7.88
#5337BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5337BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337BF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337BF#FFFFFF#000000##FFFFFF
##5337BF1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#1D5B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5337bf;
/* rgb */ color: rgb(83, 55, 191);
/* oklch */ color: oklch(45.8% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#8f70d3',
    500: '#5337bf',
    950: '#000000',
  },
}
SCSS
$custom: #5337bf;
$custom-light: #8f70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5337bf",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 252.353,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.19966,
    "h": 284.7
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#5337BF
secondary
#BCCA88
accent
#DF49C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5337BF

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

Preview Lab → · Contrast checker → · Palette generator →

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