#5F2C8A
A dark, moderate purple closely aligning with Rebeccapurple.
About #5F2C8A
At its core, #5F2C8A is a dark and moderate hue. Designers often compare it to the standard color Rebeccapurple. This translates to an RGB value of rgb(95, 44, 138).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 31% C, 68% M, 0% Y, and 46% K. This makes it a relatively light 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#5F2C8A
RGB95, 44, 138
HSL272.6°, 51.6%, 35.7%
CMYK31%, 68%, 0%, 46%
HSV272.6°, 68.1%, 54.1%
LAB29.6, 41.2, -43.3
XYZ10.2, 6.1, 24.7
Decimal6237322
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.49:1
Text on #FFFFFF
AAA
2.21:1
Text on #000000
FAIL
9.07:1
Text on #F8FAFC
AAA
1.88:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F2C8A;
}
.text-color {
color: #5F2C8A;
}
.border-color {
border: 2px solid #5F2C8A;
}