#8B008B
A dark, vivid magenta closely aligning with Darkmagenta.
About #8B008B
When working with digital screens, the color #8B008B is rendered by mixing light. It is closely associated with the named CSS color Darkmagenta. To achieve this exact tint on a monitor, you would use an RGB mix of 139, 0, and 139.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 100% Magenta, 0% Yellow, and 45% Black. The HSL representation is 300.0° hue, 100.0% saturation, and 27.3% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. 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#8B008B
RGB139, 0, 139
HSL300.0°, 100.0%, 27.3%
CMYK0%, 100%, 0%, 45%
HSV300.0°, 100.0%, 54.5%
LAB32.6, 62.6, -38.7
XYZ15.3, 7.4, 25.0
Decimal9109643
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.50:1
Text on #FFFFFF
AAA
2.47:1
Text on #000000
FAIL
8.12:1
Text on #F8FAFC
AAA
2.10:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #8B008B;
}
.text-color {
color: #8B008B;
}
.border-color {
border: 2px solid #8B008B;
}