#5F2CA0
A medium, moderate purple closely aligning with Rebeccapurple.
About #5F2CA0
When working with digital screens, the color #5F2CA0 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Rebeccapurple. In the RGB color space, it consists of 95 red, 44 green, and 160 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 41% C, 72% M, 0% Y, and 37% K. The HSL representation is 266.4° hue, 56.9% saturation, and 40.0% lightness.
Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5F2CA0
RGB95, 44, 160
HSL266.4°, 56.9%, 40.0%
CMYK41%, 72%, 0%, 37%
HSV266.4°, 72.5%, 62.7%
LAB31.3, 46.8, -54.1
XYZ12.0, 6.8, 33.9
Decimal6237344
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.92:1
Text on #FFFFFF
AAA
2.35:1
Text on #000000
FAIL
8.52:1
Text on #F8FAFC
AAA
2.00:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F2CA0;
}
.text-color {
color: #5F2CA0;
}
.border-color {
border: 2px solid #5F2CA0;
}