#5E2F96 color
The hex color #5E2F96 is a moderate violet.
In the RGB color model it is made of 36.9% red, 18.4% green and 58.8% blue (94, 47, 150).
Its hue angle is 267°, with 52% saturation and 39% lightness. For print, the CMYK equivalent is 37% cyan, 69% magenta, 0% yellow and 41% black.
The closest named color is Lucid Dreams (#632F92), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.04:1).
#5E2F96 color codes
| HEX | #5E2F96 | |
|---|---|---|
| RGB | rgb(94, 47, 150) | |
| RGB percent | rgb(36.9%, 18.4%, 58.8%) | |
| HSL | hsl(267, 52%, 39%) | |
| HSV / HSB | hsv(267, 69%, 59%) | |
| CMYK | cmyk(37%, 69%, 0%, 41%) | |
| CIE LAB | lab(30.91, 42.45, -48.59) | |
| CIE LCH | lch(30.91, 64.52, 311.15) | |
| CIE XYZ | xyz(11.136, 6.615, 29.538) | |
| Decimal | 6172566 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E2F96, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5E2F96 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.04:1 | Pass | Pass | Pass |
| #5E2F96 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.04:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5E2F96 looks to people with the most common types of color vision deficiency.
#004899Protanopia
no red cones#004894Deuteranopia
no green cones#52475eTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #5e2f96; }
.text { color: #5e2f96; }
.border { border: 2px solid #5e2f96; }
.transparent { background-color: rgb(94 47 150 / 50%); }
.gradient { background: linear-gradient(to right, #5e2f96, #922f96); }
Similar colors
#632f92Lucid Dreams#663399Rebecca Purple#572e89Night Fever#5c2e88Purple Patch#69359cPurple Heart#573894Ruthless Empress#63209bWild Violet#5930a9Royalty
Questions
- What color is #5E2F96?
- #5E2F96 is a moderate violet, closest to the named color Lucid Dreams. It belongs to the purple family of colors.
- What is the RGB value of #5E2F96?
- The RGB value is 94, 47, 150: 94 red, 47 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #5E2F96?
- The complementary color is #67962F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E2F96?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.04:1. WCAG asks for at least 4.5:1 for normal text.