#5F3357
A dark, moderate magenta closely aligning with Darkslateblue.
About #5F3357
Visually, #5F3357 is defined as a moderate magenta. Its closest recognized web color is Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 51, and 87.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 46% Magenta, 8% Yellow, and 63% Black. The HSL representation is 310.9° hue, 30.1% saturation, and 28.6% lightness.
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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#5F3357
RGB95, 51, 87
HSL310.9°, 30.1%, 28.6%
CMYK0%, 46%, 8%, 63%
HSV310.9°, 46.3%, 37.3%
LAB28.1, 25.6, -13.2
XYZ7.6, 5.5, 9.7
Decimal6239063
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.01:1
Text on #FFFFFF
AAA
2.10:1
Text on #000000
FAIL
9.57:1
Text on #F8FAFC
AAA
1.78:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F3357;
}
.text-color {
color: #5F3357;
}
.border-color {
border: 2px solid #5F3357;
}