#5639AE#5639AE

#5639AE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.176 H 288.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5639AE
RGBrgb(86, 57, 174)
HSLhsl(255, 51%, 45%)
HSVhsv(255, 67%, 68%)
CMYKcmyk(50.6%, 67.2%, 0%, 31.8%)
CIE-LABlab(33.90, 42.12, -58.26)
CIE-LCHlch(33.90, 71.89, 305.87°)
OKLaboklab(44.84% 0.0562 -0.1671)
OKLCHoklch(44.84% 0.176 288.6)
XYZxyz(12.9386, 7.9601, 40.8909)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639AE #91AE39
analogous
#3956AE #5639AE #9039AE
triadic
#5639AE #AE5639 #39AE56
tetradic
#5639AE #AE3956 #91AE39 #39AE90
square
#5639AE #AE3956 #91AE39 #39AE90
split-complementary
#5639AE #AE9039 #56AE39
monochromatic
#281B52 #3F2A80 #5639AE #765BC9 #9D89D8

Accessibility & contrast

On white

8.10
#5639AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5639AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639AE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639AE#FFFFFF#000000##FFFFFF
##5639AE1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#37566E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5639ae;
/* rgb */ color: rgb(86, 57, 174);
/* oklch */ color: oklch(44.8% 0.176 288.6);
Tailwind
colors: {
  custom: {
    50: '#8e71c7',
    500: '#5639ae',
    950: '#000000',
  },
}
SCSS
$custom: #5639ae;
$custom-light: #8e71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5639ae",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 254.872,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.1763,
    "h": 288.6
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#5639AE
secondary
#B2C380
accent
#DA4EB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5639AE

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

Preview Lab → · Contrast checker → · Palette generator →

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