#5637BF#5637BF

#5637BF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.199 H 286.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5637BF
RGBrgb(86, 55, 191)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 75%)
CMYKcmyk(55%, 71.2%, 0%, 25.1%)
CIE-LABlab(34.95, 48.21, -66.61)
CIE-LCHlch(34.95, 82.23, 305.90°)
OKLaboklab(46.03% 0.0551 -0.1916)
OKLCHoklch(46.03% 0.199 286)
XYZxyz(14.6051, 8.4716, 50.1457)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637BF #A0BF37
analogous
#375CBF #5637BF #9A37BF
triadic
#5637BF #BF5637 #37BF56
tetradic
#5637BF #BF375C #A0BF37 #37BF9A
square
#5637BF #BF375C #A0BF37 #37BF9A
split-complementary
#5637BF #BF9A37 #5CBF37
monochromatic
#2B1C60 #41298F #5637BF #7B62D2 #A391DF

Accessibility & contrast

On white

7.79
#5637BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5637BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637BF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637BF#FFFFFF#000000##FFFFFF
##5637BF1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#285B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5637bf;
/* rgb */ color: rgb(86, 55, 191);
/* oklch */ color: oklch(46.0% 0.199 286.0);
Tailwind
colors: {
  custom: {
    50: '#9071d3',
    500: '#5637bf',
    950: '#000000',
  },
}
SCSS
$custom: #5637bf;
$custom-light: #9071d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5637bf",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 253.676,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.19936,
    "h": 286
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#5637BF
secondary
#BBCA88
accent
#DF49BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637BF

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

Preview Lab → · Contrast checker → · Palette generator →

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