#5637CC#5637CC

#5637CC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.215 H 284.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5637CC
RGBrgb(86, 55, 204)
HSLhsl(252, 59%, 51%)
HSVhsv(252, 73%, 80%)
CMYKcmyk(57.8%, 73%, 0%, 20%)
CIE-LABlab(36.12, 52.00, -72.28)
CIE-LCHlch(36.12, 89.05, 305.73°)
OKLaboklab(47.22% 0.0523 -0.2082)
OKLCHoklch(47.22% 0.215 284.1)
XYZxyz(16.0997, 9.0694, 58.0172)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637CC #ADCC37
analogous
#3762CC #5637CC #A037CC
triadic
#5637CC #CC5637 #37CC56
tetradic
#5637CC #CC3762 #ADCC37 #37CCA0
square
#5637CC #CC3762 #ADCC37 #37CCA0
split-complementary
#5637CC #CCA037 #62CC37
monochromatic
#2D1C6D #41289E #5637CC #7F68D8 #A899E5

Accessibility & contrast

On white

7.46
#5637CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5637CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637CC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637CC#FFFFFF#000000##FFFFFF
##5637CC1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#12607E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5637cc;
/* rgb */ color: rgb(86, 55, 204);
/* oklch */ color: oklch(47.2% 0.215 284.1);
Tailwind
colors: {
  custom: {
    50: '#9271dd',
    500: '#5637cc',
    950: '#000000',
  },
}
SCSS
$custom: #5637cc;
$custom-light: #9271dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5637cc",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 252.483,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.21468,
    "h": 284.1
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#5637CC
secondary
#C3D08E
accent
#E345C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5637CC

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

Preview Lab → · Contrast checker → · Palette generator →

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