#5D51A7

A medium, moderate blue closely aligning with Darkslateblue.

About #5D51A7

The precise color #5D51A7 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslateblue. Its digital footprint relies on 93 parts red, 81 parts green, and 167 parts blue light.

For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 44% cyan, 51% magenta, 0% yellow, and 35% black. Always request a physical proof before doing a large print run with this exact code.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#5D51A7
RGB93, 81, 167
HSL248.4°, 34.7%, 48.6%
CMYK44%, 51%, 0%, 35%
HSV248.4°, 51.5%, 65.5%
LAB39.6, 27.2, -44.9
XYZ14.4, 11.0, 37.9
Decimal6115751

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.56:1
Text on #FFFFFF
AA
3.20:1
Text on #000000
AA Large
6.27:1
Text on #F8FAFC
AA
2.72:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #5D51A7; }
.text-color { color: #5D51A7; }
.border-color { border: 2px solid #5D51A7; }

Similar Colors

Darkslateblue
#483D8B