#5639BD#5639BD

#5639BD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.195 H 286.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5639BD
RGBrgb(86, 57, 189)
HSLhsl(253, 54%, 48%)
HSVhsv(253, 70%, 74%)
CMYKcmyk(54.5%, 69.8%, 0%, 25.9%)
CIE-LABlab(35.16, 46.55, -65.09)
CIE-LCHlch(35.16, 80.02, 305.57°)
OKLaboklab(46.13% 0.0538 -0.1871)
OKLCHoklch(46.13% 0.195 286)
XYZxyz(14.4834, 8.5780, 49.0268)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639BD #A0BD39
analogous
#395EBD #5639BD #9839BD
triadic
#5639BD #BD5639 #39BD56
tetradic
#5639BD #BD395E #A0BD39 #39BD98
square
#5639BD #BD395E #A0BD39 #39BD98
split-complementary
#5639BD #BD9839 #5EBD39
monochromatic
#2B1D5F #412B8E #5639BD #7B63D0 #A392DE

Accessibility & contrast

On white

7.73
#5639BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5639BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639BD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639BD#FFFFFF#000000##FFFFFF
##5639BD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#2A5C77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5639bd;
/* rgb */ color: rgb(86, 57, 189);
/* oklch */ color: oklch(46.1% 0.195 286.0);
Tailwind
colors: {
  custom: {
    50: '#9072d2',
    500: '#5639bd',
    950: '#000000',
  },
}
SCSS
$custom: #5639bd;
$custom-light: #9072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5639bd",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 253.182,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.19471,
    "h": 286
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#5639BD
secondary
#BBC989
accent
#DD4BBD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5639BD

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

Preview Lab → · Contrast checker → · Palette generator →

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