#2C0F50
A very dark, moderate purple closely aligning with Midnightblue.
About #2C0F50
The hex code #2C0F50 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 44 red, 15 green, and 80 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 45% C, 81% M, 0% Y, and 69% K. The HSL representation is 266.8° hue, 68.4% saturation, and 18.6% 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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#2C0F50
RGB44, 15, 80
HSL266.8°, 68.4%, 18.6%
CMYK45%, 81%, 0%, 69%
HSV266.8°, 81.2%, 31.4%
LAB12.3, 29.7, -34.0
XYZ2.7, 1.5, 7.7
Decimal2887504
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.26:1
Text on #FFFFFF
AAA
1.29:1
Text on #000000
FAIL
15.54:1
Text on #F8FAFC
AAA
1.10:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C0F50;
}
.text-color {
color: #2C0F50;
}
.border-color {
border: 2px solid #2C0F50;
}