#3A008A
A dark, vivid purple closely aligning with Indigo.
About #3A008A
At its core, #3A008A is a dark and vivid hue. It is closely associated with the named CSS color Indigo. To achieve this exact tint on a monitor, you would use an RGB mix of 58, 0, and 138.
For print applications, it's crucial to understand its CMYK makeup. The color uses 58% Cyan, 100% Magenta, 0% Yellow, and 46% Black. The HSL representation is 265.2° hue, 100.0% saturation, and 27.1% lightness.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#3A008A
RGB58, 0, 138
HSL265.2°, 100.0%, 27.1%
CMYK58%, 100%, 0%, 46%
HSV265.2°, 100.0%, 54.1%
LAB18.9, 52.1, -61.0
XYZ6.3, 2.7, 24.2
Decimal3801226
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.58:1
Text on #FFFFFF
AAA
1.55:1
Text on #000000
FAIL
12.98:1
Text on #F8FAFC
AAA
1.32:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A008A;
}
.text-color {
color: #3A008A;
}
.border-color {
border: 2px solid #3A008A;
}