#5637C1#5637C1

#5637C1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.2% C 0.202 H 285.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5637C1
RGBrgb(86, 55, 193)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 72%, 76%)
CMYKcmyk(55.4%, 71.5%, 0%, 24.3%)
CIE-LABlab(35.12, 48.80, -67.50)
CIE-LCHlch(35.12, 83.29, 305.87°)
OKLaboklab(46.21% 0.0547 -0.1942)
OKLCHoklch(46.21% 0.202 285.7)
XYZxyz(14.8267, 8.5602, 51.3128)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637C1 #A2C137
analogous
#375DC1 #5637C1 #9B37C1
triadic
#5637C1 #C15637 #37C156
tetradic
#5637C1 #C1375D #A2C137 #37C19B
square
#5637C1 #C1375D #A2C137 #37C19B
split-complementary
#5637C1 #C19B37 #5DC137
monochromatic
#2C1C62 #412991 #5637C1 #7C63D2 #A492E0

Accessibility & contrast

On white

7.74
#5637C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5637C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637C1
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637C1#FFFFFF#000000##FFFFFF
##5637C11.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#255C78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5637c1;
/* rgb */ color: rgb(86, 55, 193);
/* oklch */ color: oklch(46.2% 0.202 285.7);
Tailwind
colors: {
  custom: {
    50: '#9171d5',
    500: '#5637c1',
    950: '#000000',
  },
}
SCSS
$custom: #5637c1;
$custom-light: #9171d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5637c1",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 253.478,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.20174,
    "h": 285.7
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#5637C1
secondary
#BCCB89
accent
#DF49BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5637C1

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

Preview Lab → · Contrast checker → · Palette generator →

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