#5D4ABE#5D4ABE

#5D4ABE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.174 H 285.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5D4ABE
RGBrgb(93, 74, 190)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(51.1%, 61.1%, 0%, 25.5%)
CIE-LABlab(39.48, 38.39, -58.60)
CIE-LCHlch(39.48, 70.05, 303.23°)
OKLaboklab(49.44% 0.0469 -0.1679)
OKLCHoklch(49.44% 0.174 285.6)
XYZxyz(16.2545, 10.9416, 49.9607)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ABE #ABBE4A
analogous
#4A71BE #5D4ABE #974ABE
triadic
#5D4ABE #BE5D4A #4ABE5D
tetradic
#5D4ABE #BE4A71 #ABBE4A #4ABE97
square
#5D4ABE #BE4A71 #ABBE4A #4ABE97
split-complementary
#5D4ABE #BE974A #71BE4A
monochromatic
#302568 #453695 #5D4ABE #8577CE #AEA4DE

Accessibility & contrast

On white

6.59
#5D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5D4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ABE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ABE#FFFFFF#000000##FFFFFF
##5D4ABE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#38657D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4abe;
/* rgb */ color: rgb(93, 74, 190);
/* oklch */ color: oklch(49.4% 0.174 285.6);
Tailwind
colors: {
  custom: {
    50: '#937dd2',
    500: '#5d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #5d4abe;
$custom-light: #937dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4abe",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 249.828,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.17428,
    "h": 285.6
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#5D4ABE
secondary
#C3CB98
accent
#D751C1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#5D4ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva