#2C005F
A very dark, vivid purple closely aligning with Midnightblue.
About #2C005F
Visually, #2C005F is defined as a vivid purple. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(44, 0, 95).
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 54% cyan, 100% magenta, 0% yellow, and 63% 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. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#2C005F
RGB44, 0, 95
HSL267.8°, 100.0%, 18.6%
CMYK54%, 100%, 0%, 63%
HSV267.8°, 100.0%, 37.3%
LAB11.7, 40.4, -45.2
XYZ3.1, 1.4, 10.9
Decimal2883679
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.51:1
Text on #FFFFFF
AAA
1.27:1
Text on #000000
FAIL
15.78:1
Text on #F8FAFC
AAA
1.08:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C005F;
}
.text-color {
color: #2C005F;
}
.border-color {
border: 2px solid #2C005F;
}