#5639BF#5639BF

#5639BF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.197 H 285.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5639BF
RGBrgb(86, 57, 191)
HSLhsl(253, 54%, 49%)
HSVhsv(253, 70%, 75%)
CMYKcmyk(55%, 70.2%, 0%, 25.1%)
CIE-LABlab(35.33, 47.14, -65.98)
CIE-LCHlch(35.33, 81.09, 305.55°)
OKLaboklab(46.31% 0.0534 -0.1898)
OKLCHoklch(46.31% 0.197 285.7)
XYZxyz(14.7020, 8.6655, 50.1780)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639BF #A2BF39
analogous
#395FBF #5639BF #9939BF
triadic
#5639BF #BF5639 #39BF56
tetradic
#5639BF #BF395F #A2BF39 #39BF99
square
#5639BF #BF395F #A2BF39 #39BF99
split-complementary
#5639BF #BF9939 #5FBF39
monochromatic
#2C1D61 #412B90 #5639BF #7C64D1 #A493DF

Accessibility & contrast

On white

7.68
#5639BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5639BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639BF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639BF#FFFFFF#000000##FFFFFF
##5639BF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#275C78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5639bf;
/* rgb */ color: rgb(86, 57, 191);
/* oklch */ color: oklch(46.3% 0.197 285.7);
Tailwind
colors: {
  custom: {
    50: '#9072d3',
    500: '#5639bf',
    950: '#000000',
  },
}
SCSS
$custom: #5639bf;
$custom-light: #9072d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5639bf",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 252.985,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.19713,
    "h": 285.7
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#5639BF
secondary
#BCCA8A
accent
#DD4ABE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5639BF

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

Preview Lab → · Contrast checker → · Palette generator →

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