#5F3342
A dark, moderate magenta closely aligning with Dimgray.
About #5F3342
The precise color #5F3342 is an excellent choice for modern design projects. It is closely associated with the named CSS color Dimgray. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 51, and 66.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 46% Magenta, 31% Yellow, and 63% Black. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#5F3342
RGB95, 51, 66
HSL339.5°, 30.1%, 28.6%
CMYK0%, 46%, 31%, 63%
HSV339.5°, 46.3%, 37.3%
LAB27.3, 21.9, -0.6
XYZ6.9, 5.2, 5.8
Decimal6239042
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.30:1
Text on #FFFFFF
AAA
2.04:1
Text on #000000
FAIL
9.84:1
Text on #F8FAFC
AAA
1.73:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F3342;
}
.text-color {
color: #5F3342;
}
.border-color {
border: 2px solid #5F3342;
}