#5D4EAE#5D4EAE

#5D4EAE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.147 H 286.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5D4EAE
RGBrgb(93, 78, 174)
HSLhsl(249, 38%, 49%)
HSVhsv(249, 55%, 68%)
CMYKcmyk(46.6%, 55.2%, 0%, 31.8%)
CIE-LABlab(39.29, 31.12, -49.49)
CIE-LCHlch(39.29, 58.46, 302.16°)
OKLaboklab(48.94% 0.0426 -0.141)
OKLCHoklch(48.94% 0.147 286.8)
XYZxyz(14.8764, 10.8313, 41.3430)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EAE #9FAE4E
analogous
#4E6FAE #5D4EAE #8D4EAE
triadic
#5D4EAE #AE5D4E #4EAE5D
tetradic
#5D4EAE #AE4E6F #9FAE4E #4EAE8D
square
#5D4EAE #AE4E6F #9FAE4E #4EAE8D
split-complementary
#5D4EAE #AE8D4E #6FAE4E
monochromatic
#302859 #463B84 #5D4EAE #8377C2 #A9A1D5

Accessibility & contrast

On white

6.63
#5D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5D4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EAE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EAE#FFFFFF#000000##FFFFFF
##5D4EAE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#436376
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4eae;
/* rgb */ color: rgb(93, 78, 174);
/* oklch */ color: oklch(48.9% 0.147 286.8);
Tailwind
colors: {
  custom: {
    50: '#9080c7',
    500: '#5d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eae;
$custom-light: #9080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eae",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 249.375,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.14732,
    "h": 286.8
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#5D4EAE
secondary
#BBC296
accent
#CE5ABC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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