#5637C5#5637C5

#5637C5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.206 H 285.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5637C5
RGBrgb(86, 55, 197)
HSLhsl(253, 56%, 49%)
HSVhsv(253, 72%, 77%)
CMYKcmyk(56.3%, 72.1%, 0%, 22.7%)
CIE-LABlab(35.48, 49.97, -69.25)
CIE-LCHlch(35.48, 85.39, 305.81°)
OKLaboklab(46.58% 0.0539 -0.1993)
OKLCHoklch(46.58% 0.206 285.1)
XYZxyz(15.2789, 8.7411, 53.6946)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637C5 #A6C537
analogous
#375FC5 #5637C5 #9D37C5
triadic
#5637C5 #C55637 #37C556
tetradic
#5637C5 #C5375F #A6C537 #37C59D
square
#5637C5 #C5375F #A6C537 #37C59D
split-complementary
#5637C5 #C59D37 #5FC537
monochromatic
#2C1C65 #412A95 #5637C5 #7D65D4 #A695E1

Accessibility & contrast

On white

7.64
#5637C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5637C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637C5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637C5#FFFFFF#000000##FFFFFF
##5637C51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5637c5;
/* rgb */ color: rgb(86, 55, 197);
/* oklch */ color: oklch(46.6% 0.206 285.1);
Tailwind
colors: {
  custom: {
    50: '#9171d8',
    500: '#5637c5',
    950: '#000000',
  },
}
SCSS
$custom: #5637c5;
$custom-light: #9171d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5637c5",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 253.099,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.20648,
    "h": 285.1
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#5637C5
secondary
#BECD8B
accent
#E048BF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5637C5

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

Preview Lab → · Contrast checker → · Palette generator →

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