#331650
A dark, moderate purple closely aligning with Midnightblue.
About #331650
When working with digital screens, the color #331650 is rendered by mixing light. Its closest recognized web color is Midnightblue. In the RGB color space, it consists of 51 red, 22 green, and 80 blue.
For print applications, it's crucial to understand its CMYK makeup. The color uses 36% Cyan, 72% Magenta, 0% Yellow, and 69% Black. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. 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#331650
RGB51, 22, 80
HSL270.0°, 56.9%, 20.0%
CMYK36%, 72%, 0%, 69%
HSV270.0°, 72.5%, 31.4%
LAB14.7, 27.4, -30.0
XYZ3.1, 1.9, 7.8
Decimal3348048
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.31:1
Text on #FFFFFF
AAA
1.37:1
Text on #000000
FAIL
14.64:1
Text on #F8FAFC
AAA
1.17:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331650;
}
.text-color {
color: #331650;
}
.border-color {
border: 2px solid #331650;
}