#5637AD#5637AD

#5637AD is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.178 H 289.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5637AD
RGBrgb(86, 55, 173)
HSLhsl(256, 52%, 45%)
HSVhsv(256, 68%, 68%)
CMYKcmyk(50.3%, 68.2%, 0%, 32.2%)
CIE-LABlab(33.41, 42.95, -58.47)
CIE-LCHlch(33.41, 72.55, 306.30°)
OKLaboklab(44.46% 0.0583 -0.1677)
OKLCHoklch(44.46% 0.178 289.2)
XYZxyz(12.7446, 7.7274, 40.3471)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5637AD #8EAD37
analogous
#3753AD #5637AD #9137AD
triadic
#5637AD #AD5637 #37AD56
tetradic
#5637AD #AD3753 #8EAD37 #37AD91
square
#5637AD #AD3753 #8EAD37 #37AD91
split-complementary
#5637AD #AD9137 #53AD37
monochromatic
#281950 #3F287F #5637AD #7557CA #9C86D8

Accessibility & contrast

On white

8.25
#5637AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5637AD
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5637AD#FFFFFF#000000##FFFFFF
##5637AD1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#38556D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5637ad;
/* rgb */ color: rgb(86, 55, 173);
/* oklch */ color: oklch(44.5% 0.178 289.2);
Tailwind
colors: {
  custom: {
    50: '#8e70c6',
    500: '#5637ad',
    950: '#000000',
  },
}
SCSS
$custom: #5637ad;
$custom-light: #8e70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5637ad",
  "rgb": {
    "r": 86,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 255.763,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.17755,
    "h": 289.2
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#5637AD
secondary
#B0C27D
accent
#DB4DB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5637AD

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

Preview Lab → · Contrast checker → · Palette generator →

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