#5F338A
A dark, moderate purple closely aligning with Rebeccapurple.
About #5F338A
The hex code #5F338A represents a beautifully specific shade of purple. Its closest recognized web color is Rebeccapurple. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 51, and 138.
For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 31% cyan, 63% magenta, 0% yellow, and 46% black. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5F338A
RGB95, 51, 138
HSL270.3°, 46.0%, 37.1%
CMYK31%, 63%, 0%, 46%
HSV270.3°, 63.0%, 54.1%
LAB31.0, 37.4, -41.1
XYZ10.5, 6.6, 24.8
Decimal6239114
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.02:1
Text on #FFFFFF
AAA
2.33:1
Text on #000000
FAIL
8.62:1
Text on #F8FAFC
AAA
1.98:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F338A;
}
.text-color {
color: #5F338A;
}
.border-color {
border: 2px solid #5F338A;
}