#5F0742
A dark, vivid magenta closely aligning with Purple.
About #5F0742
The hex code #5F0742 represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Purple. In the RGB color space, it consists of 95 red, 7 green, and 66 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 93% M, 31% Y, and 63% K. The HSL representation is 319.8° hue, 86.3% saturation, and 20.0% 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#5F0742
RGB95, 7, 66
HSL319.8°, 86.3%, 20.0%
CMYK0%, 93%, 31%, 63%
HSV319.8°, 92.6%, 37.3%
LAB20.0, 41.6, -11.6
XYZ5.8, 3.0, 5.4
Decimal6227778
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.16:1
Text on #FFFFFF
AAA
1.60:1
Text on #000000
FAIL
12.58:1
Text on #F8FAFC
AAA
1.36:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F0742;
}
.text-color {
color: #5F0742;
}
.border-color {
border: 2px solid #5F0742;
}