#2C003A
A very dark, vivid magenta closely aligning with Midnightblue.
About #2C003A
The hex code #2C003A represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Midnightblue. In the RGB color space, it consists of 44 red, 0 green, and 58 blue.
Translating this color to physical media requires the CMYK color model. The color uses 24% 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. 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#2C003A
RGB44, 0, 58
HSL285.5°, 100.0%, 11.4%
CMYK24%, 100%, 0%, 77%
HSV285.5°, 100.0%, 22.7%
LAB7.6, 31.6, -26.2
XYZ1.8, 0.8, 4.1
Decimal2883642
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
17.98:1
Text on #FFFFFF
AAA
1.17:1
Text on #000000
FAIL
17.18:1
Text on #F8FAFC
AAA
1.01:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C003A;
}
.text-color {
color: #2C003A;
}
.border-color {
border: 2px solid #2C003A;
}