#3A0F66

A dark, vivid purple closely aligning with Midnightblue.

About #3A0F66

When working with digital screens, the color #3A0F66 is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 15, and 102.

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 43% cyan and 85% magenta inks. With a hue angle of 269.7 degrees, it sits comfortably in the purple spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#3A0F66
RGB58, 15, 102
HSL269.7°, 74.4%, 22.9%
CMYK43%, 85%, 0%, 60%
HSV269.7°, 85.3%, 40.0%
LAB16.5, 38.2, -41.8
XYZ4.3, 2.2, 12.8
Decimal3805030

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.58:1
Text on #FFFFFF
AAA
1.44:1
Text on #000000
FAIL
13.94:1
Text on #F8FAFC
AAA
1.22:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970