#5337BD#5337BD

#5337BD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.197 H 285.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5337BD
RGBrgb(83, 55, 189)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 74%)
CMYKcmyk(56.1%, 70.9%, 0%, 25.9%)
CIE-LABlab(34.49, 47.17, -66.20)
CIE-LCHlch(34.49, 81.28, 305.47°)
OKLaboklab(45.58% 0.0512 -0.1905)
OKLCHoklch(45.58% 0.197 285.1)
XYZxyz(14.1160, 8.2447, 48.9818)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337BD #A1BD37
analogous
#375EBD #5337BD #9637BD
triadic
#5337BD #BD5337 #37BD53
tetradic
#5337BD #BD375E #A1BD37 #37BD96
square
#5337BD #BD375E #A1BD37 #37BD96
split-complementary
#5337BD #BD9637 #5EBD37
monochromatic
#291B5E #3E298E #5337BD #7860D1 #A090DF

Accessibility & contrast

On white

7.93
#5337BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5337BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337BD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337BD#FFFFFF#000000##FFFFFF
##5337BD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#205B76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5337bd;
/* rgb */ color: rgb(83, 55, 189);
/* oklch */ color: oklch(45.6% 0.197 285.1);
Tailwind
colors: {
  custom: {
    50: '#8e70d2',
    500: '#5337bd',
    950: '#000000',
  },
}
SCSS
$custom: #5337bd;
$custom-light: #8e70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5337bd",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 252.537,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.19726,
    "h": 285.1
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5337BD

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

Preview Lab → · Contrast checker → · Palette generator →

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