#3A1D66

A dark, moderate purple closely aligning with Midnightblue.

About #3A1D66

The hex code #3A1D66 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 58 parts red, 29 parts green, and 102 parts blue light.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 43% C, 72% M, 0% Y, and 60% K. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#3A1D66
RGB58, 29, 102
HSL263.8°, 55.7%, 25.7%
CMYK43%, 72%, 0%, 60%
HSV263.8°, 71.6%, 40.0%
LAB19.0, 31.3, -37.8
XYZ4.6, 2.7, 12.9
Decimal3808614

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.57:1
Text on #FFFFFF
AAA
1.55:1
Text on #000000
FAIL
12.97:1
Text on #F8FAFC
AAA
1.32:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970