#5639BB#5639BB

#5639BB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.192 H 286.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5639BB
RGBrgb(86, 57, 187)
HSLhsl(253, 53%, 48%)
HSVhsv(253, 70%, 73%)
CMYKcmyk(54%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.99, 45.96, -64.19)
CIE-LCHlch(34.99, 78.95, 305.60°)
OKLaboklab(45.95% 0.0541 -0.1845)
OKLCHoklch(45.95% 0.192 286.4)
XYZxyz(14.2678, 8.4918, 47.8913)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639BB #9EBB39
analogous
#395DBB #5639BB #9739BB
triadic
#5639BB #BB5639 #39BB56
tetradic
#5639BB #BB395D #9EBB39 #39BB97
square
#5639BB #BB395D #9EBB39 #39BB97
split-complementary
#5639BB #BB9739 #5DBB39
monochromatic
#2B1C5D #402B8C #5639BB #7A62CF #A291DD

Accessibility & contrast

On white

7.78
#5639BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5639BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639BB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639BB#FFFFFF#000000##FFFFFF
##5639BB1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#2C5B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5639bb;
/* rgb */ color: rgb(86, 57, 187);
/* oklch */ color: oklch(46.0% 0.192 286.4);
Tailwind
colors: {
  custom: {
    50: '#9072d0',
    500: '#5639bb',
    950: '#000000',
  },
}
SCSS
$custom: #5639bb;
$custom-light: #9072d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5639bb",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 253.385,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.19229,
    "h": 286.4
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#5639BB
secondary
#BAC887
accent
#DD4BBC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5639BB

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

Preview Lab → · Contrast checker → · Palette generator →

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