#2C0033

A very dark, vivid magenta closely aligning with Midnightblue.

About #2C0033

The hex code #2C0033 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 44 parts red, 0 parts green, and 51 parts blue light.

For print applications, it's crucial to understand its CMYK makeup. The color uses 14% Cyan, 100% Magenta, 0% Yellow, and 80% Black. With a hue angle of 291.8 degrees, it sits comfortably in the magenta spectrum.

From a UX and accessibility standpoint, contrast is paramount. 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#2C0033
RGB44, 0, 51
HSL291.8°, 100.0%, 10.0%
CMYK14%, 100%, 0%, 80%
HSV291.8°, 100.0%, 20.0%
LAB7.0, 30.0, -22.0
XYZ1.6, 0.8, 3.2
Decimal2883635

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

18.18:1
Text on #FFFFFF
AAA
1.15:1
Text on #000000
FAIL
17.38:1
Text on #F8FAFC
AAA
1.02:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970