#331675
A dark, moderate purple closely aligning with Midnightblue.
About #331675
At its core, #331675 is a dark and moderate hue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 51 red, 22 green, and 117 blue.
If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 56% cyan, 81% magenta, 0% yellow, and 54% black. Always request a physical proof before doing a large print run with this exact code.
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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#331675
RGB51, 22, 117
HSL258.3°, 68.3%, 27.3%
CMYK56%, 81%, 0%, 54%
HSV258.3°, 81.2%, 45.9%
LAB18.2, 38.2, -48.9
XYZ4.9, 2.6, 17.1
Decimal3348085
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.89:1
Text on #FFFFFF
AAA
1.51:1
Text on #000000
FAIL
13.27:1
Text on #F8FAFC
AAA
1.29:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331675;
}
.text-color {
color: #331675;
}
.border-color {
border: 2px solid #331675;
}