#5639B9#5639B9

#5639B9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.190 H 286.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5639B9
RGBrgb(86, 57, 185)
HSLhsl(254, 53%, 47%)
HSVhsv(254, 69%, 73%)
CMYKcmyk(53.5%, 69.2%, 0%, 27.5%)
CIE-LABlab(34.82, 45.37, -63.29)
CIE-LCHlch(34.82, 77.87, 305.63°)
OKLaboklab(45.78% 0.0545 -0.1819)
OKLCHoklch(45.78% 0.19 286.7)
XYZxyz(14.0552, 8.4067, 46.7716)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639B9 #9CB939
analogous
#395CB9 #5639B9 #9639B9
triadic
#5639B9 #B95639 #39B956
tetradic
#5639B9 #B9395C #9CB939 #39B996
square
#5639B9 #B9395C #9CB939 #39B996
split-complementary
#5639B9 #B99639 #5CB939
monochromatic
#2B1C5B #402B8A #5639B9 #7A61CE #A190DD

Accessibility & contrast

On white

7.83
#5639B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5639B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639B9
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639B9#FFFFFF#000000##FFFFFF
##5639B91.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#2E5A74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5639b9;
/* rgb */ color: rgb(86, 57, 185);
/* oklch */ color: oklch(45.8% 0.190 286.7);
Tailwind
colors: {
  custom: {
    50: '#8f72cf',
    500: '#5639b9',
    950: '#000000',
  },
}
SCSS
$custom: #5639b9;
$custom-light: #8f72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5639b9",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 253.594,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.18985,
    "h": 286.7
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#5639B9
secondary
#B9C886
accent
#DC4BBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5639B9

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

Preview Lab → · Contrast checker → · Palette generator →

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