#2C0792
A dark, vivid purple closely aligning with Darkblue.
About #2C0792
The hex code #2C0792 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Darkblue. In the RGB color space, it consists of 44 red, 7 green, and 146 blue.
Translating this color to physical media requires the CMYK color model. The color uses 70% Cyan, 95% Magenta, 0% Yellow, and 43% Black. The HSL representation is 256.0° hue, 90.8% saturation, and 30.0% lightness.
From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#2C0792
RGB44, 7, 146
HSL256.0°, 90.8%, 30.0%
CMYK70%, 95%, 0%, 43%
HSV256.0°, 95.2%, 57.3%
LAB19.1, 51.2, -65.8
XYZ6.3, 2.8, 27.4
Decimal2885522
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.53:1
Text on #FFFFFF
AAA
1.55:1
Text on #000000
FAIL
12.93:1
Text on #F8FAFC
AAA
1.32:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C0792;
}
.text-color {
color: #2C0792;
}
.border-color {
border: 2px solid #2C0792;
}