#5D4CD0#5D4CD0

#5D4CD0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.2% C 0.195 H 282.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD0
RGBrgb(93, 76, 208)
HSLhsl(248, 58%, 56%)
HSVhsv(248, 63%, 82%)
CMYKcmyk(55.3%, 63.5%, 0%, 18.4%)
CIE-LABlab(41.29, 42.71, -66.10)
CIE-LCHlch(41.29, 78.70, 302.86°)
OKLaboklab(51.19% 0.0436 -0.1899)
OKLCHoklch(51.19% 0.195 282.9)
XYZxyz(18.4803, 12.0490, 61.0142)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD0 #BFD04C
analogous
#4C7DD0 #5D4CD0 #9F4CD0
triadic
#5D4CD0 #D05D4C #4CD05D
tetradic
#5D4CD0 #D04C7D #BFD04C #4CD09F
square
#5D4CD0 #D04C7D #BFD04C #4CD09F
split-complementary
#5D4CD0 #D09F4C #7DD04C
monochromatic
#2E2280 #3F2EB0 #5D4CD0 #897CDD #B5ADE9

Accessibility & contrast

On white

6.16
#5D4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD0#FFFFFF#000000##FFFFFF
##5D4CD01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#266D87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4cd0;
/* rgb */ color: rgb(93, 76, 208);
/* oklch */ color: oklch(51.2% 0.195 282.9);
Tailwind
colors: {
  custom: {
    50: '#957fdf',
    500: '#5d4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd0;
$custom-light: #957fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd0",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 247.727,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.19484,
    "h": 282.9
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#5D4CD0
secondary
#D0D7A0
accent
#E246CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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