#5639CA#5639CA

#5639CA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.3% C 0.210 H 284.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5639CA
RGBrgb(86, 57, 202)
HSLhsl(252, 58%, 51%)
HSVhsv(252, 72%, 79%)
CMYKcmyk(57.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(36.31, 50.38, -70.81)
CIE-LCHlch(36.31, 86.91, 305.43°)
OKLaboklab(47.3% 0.0512 -0.2039)
OKLCHoklch(47.3% 0.21 284.1)
XYZxyz(15.9583, 9.1680, 56.7943)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639CA #ADCA39
analogous
#3964CA #5639CA #9E39CA
triadic
#5639CA #CA5639 #39CA56
tetradic
#5639CA #CA3964 #ADCA39 #39CA9E
square
#5639CA #CA3964 #ADCA39 #39CA9E
split-complementary
#5639CA #CA9E39 #64CA39
monochromatic
#2D1D6C #412A9C #5639CA #7F69D7 #A89AE4

Accessibility & contrast

On white

7.41
#5639CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5639CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639CA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639CA#FFFFFF#000000##FFFFFF
##5639CA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#16607E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5639ca;
/* rgb */ color: rgb(86, 57, 202);
/* oklch */ color: oklch(47.3% 0.210 284.1);
Tailwind
colors: {
  custom: {
    50: '#9272db',
    500: '#5639ca',
    950: '#000000',
  },
}
SCSS
$custom: #5639ca;
$custom-light: #9272db;
$custom-dark: #000000;
JSON
{
  "hex": "#5639ca",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.21026,
    "h": 284.1
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#5639CA
secondary
#C3D08F
accent
#E147C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639CA

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

Preview Lab → · Contrast checker → · Palette generator →

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