#331D75
A dark, moderate purple closely aligning with Midnightblue.
About #331D75
Visually, #331D75 is defined as a moderate purple. If you're using CSS, you might find it aligns closely with Midnightblue. In the RGB color space, it consists of 51 red, 29 green, and 117 blue.
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 56% cyan and 75% magenta inks. Always request a physical proof before doing a large print run with this exact code.
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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#331D75
RGB51, 29, 117
HSL255.0°, 60.3%, 28.6%
CMYK56%, 75%, 0%, 54%
HSV255.0°, 75.2%, 45.9%
LAB19.5, 34.5, -46.7
XYZ5.0, 2.9, 17.1
Decimal3349877
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.35:1
Text on #FFFFFF
AAA
1.57:1
Text on #000000
FAIL
12.76:1
Text on #F8FAFC
AAA
1.34:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331D75;
}
.text-color {
color: #331D75;
}
.border-color {
border: 2px solid #331D75;
}