#5636BD#5636BD

#5636BD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.198 H 286.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5636BD
RGBrgb(86, 54, 189)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(54.5%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.58, 48.16, -66.04)
CIE-LCHlch(34.58, 81.73, 306.10°)
OKLaboklab(45.72% 0.0563 -0.1899)
OKLCHoklch(45.72% 0.198 286.5)
XYZxyz(14.3395, 8.2901, 48.9788)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5636BD #9DBD36
analogous
#365ABD #5636BD #9936BD
triadic
#5636BD #BD5636 #36BD56
tetradic
#5636BD #BD365A #9DBD36 #36BD99
square
#5636BD #BD365A #9DBD36 #36BD99
split-complementary
#5636BD #BD9936 #5ABD36
monochromatic
#2B1B5E #40288D #5636BD #7A5FD1 #A28FDF

Accessibility & contrast

On white

7.90
#5636BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5636BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5636BD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5636BD#FFFFFF#000000##FFFFFF
##5636BD1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#2A5A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5636bd;
/* rgb */ color: rgb(86, 54, 189);
/* oklch */ color: oklch(45.7% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#9070d2',
    500: '#5636bd',
    950: '#000000',
  },
}
SCSS
$custom: #5636bd;
$custom-light: #9070d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5636bd",
  "rgb": {
    "r": 86,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 254.222,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.19809,
    "h": 286.5
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#5636BD
secondary
#B9C985
accent
#DF49BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5636BD

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

Preview Lab → · Contrast checker → · Palette generator →

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