#5636C5#5636C5

#5636C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.208 H 285.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5636C5
RGBrgb(86, 54, 197)
HSLhsl(253, 57%, 49%)
HSVhsv(253, 73%, 77%)
CMYKcmyk(56.3%, 72.6%, 0%, 22.7%)
CIE-LABlab(35.30, 50.48, -69.55)
CIE-LCHlch(35.30, 85.94, 305.97°)
OKLaboklab(46.44% 0.0546 -0.2002)
OKLCHoklch(46.44% 0.208 285.3)
XYZxyz(15.2319, 8.6471, 53.6789)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636C5 #A5C536
analogous
#365DC5 #5636C5 #9E36C5
triadic
#5636C5 #C55636 #36C556
tetradic
#5636C5 #C5365D #A5C536 #36C59E
square
#5636C5 #C5365D #A5C536 #36C59E
split-complementary
#5636C5 #C59E36 #5DC536
monochromatic
#2C1C65 #412995 #5636C5 #7D64D4 #A594E2

Accessibility & contrast

On white

7.69
#5636C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5636C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636C5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636C5#FFFFFF#000000##FFFFFF
##5636C51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#205D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5636c5;
/* rgb */ color: rgb(86, 54, 197);
/* oklch */ color: oklch(46.4% 0.208 285.3);
Tailwind
colors: {
  custom: {
    50: '#9170d8',
    500: '#5636c5',
    950: '#000000',
  },
}
SCSS
$custom: #5636c5;
$custom-light: #9170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5636c5",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 253.427,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.20754,
    "h": 285.3
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#5636C5
secondary
#BECD8A
accent
#E048BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5636C5

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

Preview Lab → · Contrast checker → · Palette generator →

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