#5639CD#5639CD

#5639CD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.214 H 283.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5639CD
RGBrgb(86, 57, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 72%, 80%)
CMYKcmyk(58%, 72.2%, 0%, 19.6%)
CIE-LABlab(36.58, 51.26, -72.11)
CIE-LCHlch(36.58, 88.47, 305.41°)
OKLaboklab(47.57% 0.0506 -0.2077)
OKLCHoklch(47.57% 0.214 283.7)
XYZxyz(16.3169, 9.3114, 58.6832)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639CD #B0CD39
analogous
#3966CD #5639CD #A039CD
triadic
#5639CD #CD5639 #39CD56
tetradic
#5639CD #CD3966 #B0CD39 #39CDA0
square
#5639CD #CD3966 #B0CD39 #39CDA0
split-complementary
#5639CD #CDA039 #66CD39
monochromatic
#2C1C6F #4028A0 #5639CD #806AD9 #A99BE6

Accessibility & contrast

On white

7.34
#5639CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5639CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639CD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639CD#FFFFFF#000000##FFFFFF
##5639CD1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#0E6280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5639cd;
/* rgb */ color: rgb(86, 57, 205);
/* oklch */ color: oklch(47.6% 0.214 283.7);
Tailwind
colors: {
  custom: {
    50: '#9272dd',
    500: '#5639cd',
    950: '#000000',
  },
}
SCSS
$custom: #5639cd;
$custom-light: #9272dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5639cd",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 251.757,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.21379,
    "h": 283.7
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#5639CD
secondary
#C5D290
accent
#E345C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639CD

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

Preview Lab → · Contrast checker → · Palette generator →

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