#5637D1#5637D1

#5637D1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.220 H 283.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5637D1
RGBrgb(86, 55, 209)
HSLhsl(252, 63%, 52%)
HSVhsv(252, 74%, 82%)
CMYKcmyk(58.9%, 73.7%, 0%, 18%)
CIE-LABlab(36.58, 53.46, -74.42)
CIE-LCHlch(36.58, 91.63, 305.69°)
OKLaboklab(47.69% 0.0512 -0.2145)
OKLCHoklch(47.69% 0.22 283.4)
XYZxyz(16.7090, 9.3132, 61.2264)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637D1 #B2D137
analogous
#3765D1 #5637D1 #A337D1
triadic
#5637D1 #D15637 #37D156
tetradic
#5637D1 #D13765 #B2D137 #37D1A3
square
#5637D1 #D13765 #B2D137 #37D1A3
split-complementary
#5637D1 #D1A337 #65D137
monochromatic
#2C1A73 #3F26A5 #5637D1 #8069DC #AA9BE8

Accessibility & contrast

On white

7.34
#5637D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5637D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637D1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637D1#FFFFFF#000000##FFFFFF
##5637D11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0051CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5637d1;
/* rgb */ color: rgb(86, 55, 209);
/* oklch */ color: oklch(47.7% 0.220 283.4);
Tailwind
colors: {
  custom: {
    50: '#9371e0',
    500: '#5637d1',
    950: '#000000',
  },
}
SCSS
$custom: #5637d1;
$custom-light: #9371e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5637d1",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 252.078,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.22049,
    "h": 283.4
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#5637D1
secondary
#C6D490
accent
#E642C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5637D1

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

Preview Lab → · Contrast checker → · Palette generator →

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