#330F6D
A dark, vivid purple closely aligning with Midnightblue.
About #330F6D
The precise color #330F6D is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(51, 15, 109).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 53% cyan and 86% magenta inks. The HSL representation is 263.0° hue, 75.8% saturation, and 24.3% lightness.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#330F6D
RGB51, 15, 109
HSL263.0°, 75.8%, 24.3%
CMYK53%, 86%, 0%, 57%
HSV263.0°, 86.2%, 42.7%
LAB16.3, 39.1, -46.9
XYZ4.3, 2.1, 14.7
Decimal3346285
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.69:1
Text on #FFFFFF
AAA
1.43:1
Text on #000000
FAIL
14.04:1
Text on #F8FAFC
AAA
1.22:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #330F6D;
}
.text-color {
color: #330F6D;
}
.border-color {
border: 2px solid #330F6D;
}