#3A1D7C
A dark, moderate purple closely aligning with Midnightblue.
About #3A1D7C
Visually, #3A1D7C is defined as a moderate purple. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(58, 29, 124).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 53% cyan, 77% magenta, 0% yellow, and 51% black. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. 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#3A1D7C
RGB58, 29, 124
HSL258.3°, 62.1%, 30.0%
CMYK53%, 77%, 0%, 51%
HSV258.3°, 76.6%, 48.6%
LAB21.0, 37.8, -48.8
XYZ5.8, 3.2, 19.4
Decimal3808636
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.75:1
Text on #FFFFFF
AAA
1.65:1
Text on #000000
FAIL
12.19:1
Text on #F8FAFC
AAA
1.40:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A1D7C;
}
.text-color {
color: #3A1D7C;
}
.border-color {
border: 2px solid #3A1D7C;
}