#3A0F57

A dark, vivid purple closely aligning with Midnightblue.

About #3A0F57

The hex code #3A0F57 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(58, 15, 87).

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 33% cyan and 83% magenta inks. With a hue angle of 275.8 degrees, it sits comfortably in the purple spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a dark color, it is generally recommended to use #FFFFFF text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#3A0F57
RGB58, 15, 87
HSL275.8°, 70.6%, 20.0%
CMYK33%, 83%, 0%, 66%
HSV275.8°, 82.8%, 34.1%
LAB15.1, 34.4, -34.1
XYZ3.6, 1.9, 9.2
Decimal3805015

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.15:1
Text on #FFFFFF
AAA
1.39:1
Text on #000000
FAIL
14.48:1
Text on #F8FAFC
AAA
1.18:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970