#5639CC#5639CC

#5639CC is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.213 H 283.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5639CC
RGBrgb(86, 57, 204)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 72%, 80%)
CMYKcmyk(57.8%, 72.1%, 0%, 20%)
CIE-LABlab(36.49, 50.97, -71.68)
CIE-LCHlch(36.49, 87.95, 305.42°)
OKLaboklab(47.48% 0.0508 -0.2064)
OKLCHoklch(47.48% 0.213 283.8)
XYZxyz(16.1966, 9.2633, 58.0496)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639CC #AFCC39
analogous
#3965CC #5639CC #9F39CC
triadic
#5639CC #CC5639 #39CC56
tetradic
#5639CC #CC3965 #AFCC39 #39CC9F
square
#5639CC #CC3965 #AFCC39 #39CC9F
split-complementary
#5639CC #CC9F39 #65CC39
monochromatic
#2D1C6E #40299F #5639CC #806AD9 #A99AE5

Accessibility & contrast

On white

7.36
#5639CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5639CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639CC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639CC#FFFFFF#000000##FFFFFF
##5639CC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#11617F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5639cc;
/* rgb */ color: rgb(86, 57, 204);
/* oklch */ color: oklch(47.5% 0.213 283.8);
Tailwind
colors: {
  custom: {
    50: '#9272dd',
    500: '#5639cc',
    950: '#000000',
  },
}
SCSS
$custom: #5639cc;
$custom-light: #9272dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5639cc",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 251.837,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.21261,
    "h": 283.8
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#5639CC
secondary
#C4D190
accent
#E246C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639CC

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

Preview Lab → · Contrast checker → · Palette generator →

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