#1D0050

A very dark, vivid purple closely aligning with Midnightblue.

About #1D0050

At its core, #1D0050 is a very dark and vivid hue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 29 red, 0 green, and 80 blue.

If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 64% C, 100% M, 0% Y, and 69% K. The HSL representation is 261.8° hue, 100.0% saturation, and 15.7% lightness.

Ensuring your text is legible against this background is a key part of web design. Because it is a very dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#1D0050
RGB29, 0, 80
HSL261.8°, 100.0%, 15.7%
CMYK64%, 100%, 0%, 69%
HSV261.8°, 100.0%, 31.4%
LAB7.6, 35.3, -41.8
XYZ2.0, 0.8, 7.6
Decimal1900624

Color Harmonies

Complementary

Analogous

Triadic

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: #1D0050; }
.text-color { color: #1D0050; }
.border-color { border: 2px solid #1D0050; }

Similar Colors

Midnightblue
#191970