#3A0766

A dark, vivid purple closely aligning with Midnightblue.

About #3A0766

When working with digital screens, the color #3A0766 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 7, and 102.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 43% cyan and 93% magenta inks. With a hue angle of 272.2 degrees, it sits comfortably in the purple spectrum.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#3A0766
RGB58, 7, 102
HSL272.2°, 87.2%, 21.4%
CMYK43%, 93%, 0%, 60%
HSV272.2°, 93.1%, 40.0%
LAB15.5, 41.1, -43.4
XYZ4.2, 2.0, 12.7
Decimal3802982

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.98:1
Text on #FFFFFF
AAA
1.40:1
Text on #000000
FAIL
14.31:1
Text on #F8FAFC
AAA
1.19:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970