#1D005F

A very dark, vivid purple closely aligning with Midnightblue.

About #1D005F

When working with digital screens, the color #1D005F is rendered by mixing light. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(29, 0, 95).

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 69% cyan and 100% magenta inks. The HSL representation is 258.3° hue, 100.0% saturation, and 18.6% lightness.

Contrast ratios determine whether this color is safe for typography. 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#1D005F
RGB29, 0, 95
HSL258.3°, 100.0%, 18.6%
CMYK69%, 100%, 0%, 63%
HSV258.3°, 100.0%, 37.3%
LAB9.7, 39.3, -48.6
XYZ2.6, 1.1, 10.9
Decimal1900639

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

17.25:1
Text on #FFFFFF
AAA
1.22:1
Text on #000000
FAIL
16.49:1
Text on #F8FAFC
AAA
1.04:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970