#3A1D75

A dark, moderate purple closely aligning with Midnightblue.

About #3A1D75

When working with digital screens, the color #3A1D75 is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 58 parts red, 29 parts green, and 117 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 50% Cyan, 75% Magenta, 0% Yellow, and 54% Black. With a hue angle of 259.8 degrees, it sits comfortably in the purple spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#3A1D75
RGB58, 29, 117
HSL259.8°, 60.3%, 28.6%
CMYK50%, 75%, 0%, 54%
HSV259.8°, 75.2%, 45.9%
LAB20.3, 35.7, -45.4
XYZ5.4, 3.1, 17.1
Decimal3808629

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.02:1
Text on #FFFFFF
AAA
1.61:1
Text on #000000
FAIL
12.45:1
Text on #F8FAFC
AAA
1.37:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #3A1D75; }
.text-color { color: #3A1D75; }
.border-color { border: 2px solid #3A1D75; }

Similar Colors

Midnightblue
#191970