#3A0F6D
A dark, vivid purple closely aligning with Midnightblue.
About #3A0F6D
Visually, #3A0F6D is defined as a vivid purple. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(58, 15, 109).
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 47% C, 86% M, 0% Y, and 57% K. The HSL representation is 267.4° hue, 75.8% saturation, and 24.3% lightness.
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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#3A0F6D
RGB58, 15, 109
HSL267.4°, 75.8%, 24.3%
CMYK47%, 86%, 0%, 57%
HSV267.4°, 86.2%, 42.7%
LAB17.2, 40.1, -45.3
XYZ4.7, 2.3, 14.7
Decimal3805037
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.29:1
Text on #FFFFFF
AAA
1.47:1
Text on #000000
FAIL
13.66:1
Text on #F8FAFC
AAA
1.25:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A0F6D;
}
.text-color {
color: #3A0F6D;
}
.border-color {
border: 2px solid #3A0F6D;
}