#5639CF#5639CF

#5639CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.216 H 283.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5639CF
RGBrgb(86, 57, 207)
HSLhsl(252, 61%, 52%)
HSVhsv(252, 72%, 81%)
CMYKcmyk(58.5%, 72.5%, 0%, 18.8%)
CIE-LABlab(36.76, 51.85, -72.97)
CIE-LCHlch(36.76, 89.52, 305.40°)
OKLaboklab(47.76% 0.0502 -0.2102)
OKLCHoklch(47.76% 0.216 283.4)
XYZxyz(16.5599, 9.4086, 59.9628)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639CF #B2CF39
analogous
#3967CF #5639CF #A139CF
triadic
#5639CF #CF5639 #39CF56
tetradic
#5639CF #CF3967 #B2CF39 #39CFA1
square
#5639CF #CF3967 #B2CF39 #39CFA1
split-complementary
#5639CF #CFA139 #67CF39
monochromatic
#2C1C72 #3F28A3 #5639CF #806ADB #AA9CE7

Accessibility & contrast

On white

7.29
#5639CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5639CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639CF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639CF#FFFFFF#000000##FFFFFF
##5639CF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#076281
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5639cf;
/* rgb */ color: rgb(86, 57, 207);
/* oklch */ color: oklch(47.8% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#9373df',
    500: '#5639cf',
    950: '#000000',
  },
}
SCSS
$custom: #5639cf;
$custom-light: #9373df;
$custom-dark: #000000;
JSON
{
  "hex": "#5639cf",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 251.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.21614,
    "h": 283.4
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#5639CF
secondary
#C6D391
accent
#E444C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639CF

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

Preview Lab → · Contrast checker → · Palette generator →

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