#5639C5#5639C5

#5639C5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.204 H 284.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5639C5
RGBrgb(86, 57, 197)
HSLhsl(252, 55%, 50%)
HSVhsv(252, 71%, 77%)
CMYKcmyk(56.3%, 71.1%, 0%, 22.7%)
CIE-LABlab(35.86, 48.91, -68.63)
CIE-LCHlch(35.86, 84.28, 305.48°)
OKLaboklab(46.84% 0.0523 -0.1975)
OKLCHoklch(46.84% 0.204 284.8)
XYZxyz(15.3759, 8.9350, 53.7269)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5639C5 #A8C539
analogous
#3962C5 #5639C5 #9C39C5
triadic
#5639C5 #C55639 #39C556
tetradic
#5639C5 #C53962 #A8C539 #39C59C
square
#5639C5 #C53962 #A8C539 #39C59C
split-complementary
#5639C5 #C59C39 #62C539
monochromatic
#2D1E66 #412B96 #5639C5 #7E68D3 #A797E1

Accessibility & contrast

On white

7.53
#5639C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5639C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5639C5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5639C5#FFFFFF#000000##FFFFFF
##5639C51.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#1F5F7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5639c5;
/* rgb */ color: rgb(86, 57, 197);
/* oklch */ color: oklch(46.8% 0.204 284.8);
Tailwind
colors: {
  custom: {
    50: '#9172d8',
    500: '#5639c5',
    950: '#000000',
  },
}
SCSS
$custom: #5639c5;
$custom-light: #9172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5639c5",
  "rgb": {
    "r": 86,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 252.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.20433,
    "h": 284.8
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#5639C5
secondary
#BFCD8D
accent
#DE49C0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5639C5

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

Preview Lab → · Contrast checker → · Palette generator →

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