#3A165F
A dark, moderate purple closely aligning with Midnightblue.
About #3A165F
When working with digital screens, the color #3A165F is rendered by mixing light. If you're using CSS, you might find it aligns closely with Midnightblue. In the RGB color space, it consists of 58 red, 22 green, and 95 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 39% cyan and 77% magenta inks. The HSL representation is 269.6° hue, 62.4% saturation, and 22.9% lightness.
When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#3A165F
RGB58, 22, 95
HSL269.6°, 62.4%, 22.9%
CMYK39%, 77%, 0%, 63%
HSV269.6°, 76.8%, 37.3%
LAB17.0, 33.1, -36.4
XYZ4.1, 2.3, 11.1
Decimal3806815
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.38:1
Text on #FFFFFF
AAA
1.46:1
Text on #000000
FAIL
13.75:1
Text on #F8FAFC
AAA
1.24:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A165F;
}
.text-color {
color: #3A165F;
}
.border-color {
border: 2px solid #3A165F;
}