#5639BA#5639BA

#5639BA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.191 H 286.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5639BA
RGBrgb(86, 57, 186)
HSLhsl(253, 53%, 48%)
HSVhsv(253, 69%, 73%)
CMYKcmyk(53.8%, 69.4%, 0%, 27.1%)
CIE-LABlab(34.90, 45.67, -63.74)
CIE-LCHlch(34.90, 78.41, 305.62°)
OKLaboklab(45.87% 0.0543 -0.1832)
OKLCHoklch(45.87% 0.191 286.5)
XYZxyz(14.1612, 8.4491, 47.3295)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639BA #9DBA39
analogous
#395DBA #5639BA #9639BA
triadic
#5639BA #BA5639 #39BA56
tetradic
#5639BA #BA395D #9DBA39 #39BA96
square
#5639BA #BA395D #9DBA39 #39BA96
split-complementary
#5639BA #BA9639 #5DBA39
monochromatic
#2B1C5C #402B8B #5639BA #7A61CF #A290DD

Accessibility & contrast

On white

7.81
#5639BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5639BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639BA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639BA#FFFFFF#000000##FFFFFF
##5639BA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5639ba;
/* rgb */ color: rgb(86, 57, 186);
/* oklch */ color: oklch(45.9% 0.191 286.5);
Tailwind
colors: {
  custom: {
    50: '#8f72d0',
    500: '#5639ba',
    950: '#000000',
  },
}
SCSS
$custom: #5639ba;
$custom-light: #8f72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5639ba",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 253.488,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.19107,
    "h": 286.5
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#5639BA
secondary
#B9C887
accent
#DC4BBC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5639BA

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

Preview Lab → · Contrast checker → · Palette generator →

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