#1D003A
A very dark, vivid purple closely aligning with Midnightblue.
About #1D003A
At its core, #1D003A is a very dark and vivid hue. If you're using CSS, you might find it aligns closely with Midnightblue. Its digital footprint relies on 29 parts red, 0 parts green, and 58 parts blue light.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 50% cyan, 100% magenta, 0% yellow, and 77% black. This makes it a relatively dark color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#1D003A
RGB29, 0, 58
HSL270.0°, 100.0%, 11.4%
CMYK50%, 100%, 0%, 77%
HSV270.0°, 100.0%, 22.7%
LAB5.1, 27.6, -30.3
XYZ1.3, 0.6, 4.0
Decimal1900602
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
18.86:1
Text on #FFFFFF
AAA
1.11:1
Text on #000000
FAIL
18.03:1
Text on #F8FAFC
AAA
1.06:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #1D003A;
}
.text-color {
color: #1D003A;
}
.border-color {
border: 2px solid #1D003A;
}