#5637AE#5637AE

#5637AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.179 H 289.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5637AE
RGBrgb(86, 55, 174)
HSLhsl(256, 52%, 45%)
HSVhsv(256, 68%, 68%)
CMYKcmyk(50.6%, 68.4%, 0%, 31.8%)
CIE-LABlab(33.49, 43.24, -58.93)
CIE-LCHlch(33.49, 73.09, 306.27°)
OKLaboklab(44.54% 0.0582 -0.1691)
OKLCHoklch(44.54% 0.179 289)
XYZxyz(12.8417, 7.7662, 40.8586)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637AE #8FAE37
analogous
#3754AE #5637AE #9137AE
triadic
#5637AE #AE5637 #37AE56
tetradic
#5637AE #AE3754 #8FAE37 #37AE91
square
#5637AE #AE3754 #8FAE37 #37AE91
split-complementary
#5637AE #AE9137 #54AE37
monochromatic
#281A51 #3F287F #5637AE #7658CA #9C86D9

Accessibility & contrast

On white

8.22
#5637AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5637AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5637AE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637AE#FFFFFF#000000##FFFFFF
##5637AE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#37556E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5637ae;
/* rgb */ color: rgb(86, 55, 174);
/* oklch */ color: oklch(44.5% 0.179 289.0);
Tailwind
colors: {
  custom: {
    50: '#8e70c7',
    500: '#5637ae',
    950: '#000000',
  },
}
SCSS
$custom: #5637ae;
$custom-light: #8e70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5637ae",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 255.63,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.17878,
    "h": 289
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#5637AE
secondary
#B1C37E
accent
#DB4CB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5637AE

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

Preview Lab → · Contrast checker → · Palette generator →

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