#3A0066
A dark, vivid purple closely aligning with Midnightblue.
About #3A0066
At its core, #3A0066 is a dark and vivid hue. Its closest recognized web color is Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 0, and 102.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 43% C, 100% M, 0% Y, and 60% K. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#3A0066
RGB58, 0, 102
HSL274.1°, 100.0%, 20.0%
CMYK43%, 100%, 0%, 60%
HSV274.1°, 100.0%, 40.0%
LAB14.7, 43.5, -44.8
XYZ4.1, 1.9, 12.7
Decimal3801190
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.31:1
Text on #FFFFFF
AAA
1.37:1
Text on #000000
FAIL
14.63:1
Text on #F8FAFC
AAA
1.17:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A0066;
}
.text-color {
color: #3A0066;
}
.border-color {
border: 2px solid #3A0066;
}