#5E22BB color
The hex color #5E22BB is a moderate violet.
In the RGB color model it is made of 36.9% red, 13.3% green and 73.3% blue (94, 34, 187).
Its hue angle is 264°, with 69% saturation and 43% lightness. For print, the CMYK equivalent is 50% cyan, 82% magenta, 0% yellow and 27% black.
The closest named color is Sea Serpent’s Tears (#5511CC), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.67:1).
#5E22BB color codes
| HEX | #5E22BB | |
|---|---|---|
| RGB | rgb(94, 34, 187) | |
| RGB percent | rgb(36.9%, 13.3%, 73.3%) | |
| HSL | hsl(264, 69%, 43%) | |
| HSV / HSB | hsv(264, 82%, 73%) | |
| CMYK | cmyk(50%, 82%, 0%, 27%) | |
| CIE LAB | lab(32.06, 57.88, -68.96) | |
| CIE LCH | lch(32.06, 90.04, 310.01) | |
| CIE XYZ | xyz(14.155, 7.111, 47.631) | |
| Decimal | 6169275 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E22BB, 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 #5E22BB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.67:1 | Pass | Pass | Pass |
| #5E22BB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.67:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #5E22BB looks to people with the most common types of color vision deficiency.
#004dbfProtanopia
no red cones#0048b8Deuteranopia
no green cones#3f5070Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #5e22bb; }
.text { color: #5e22bb; }
.border { border: 2px solid #5e22bb; }
.transparent { background-color: rgb(94 34 187 / 50%); }
.gradient { background: linear-gradient(to right, #5e22bb, #aa22bb); }
Similar colors
#5511ccSea Serpent’s Tears#6633bbPurple Emperor#5930a9Royalty#6f2da8Grape#63209bWild Violet#5539ccBlurple#7722aaFuchsia Nebula#7711ddVoluptuous Violet
Questions
- What color is #5E22BB?
- #5E22BB is a moderate violet, closest to the named color Sea Serpent’s Tears. It belongs to the purple family of colors.
- What is the RGB value of #5E22BB?
- The RGB value is 94, 34, 187: 94 red, 34 green and 187 blue on a 0 to 255 scale.
- What is the complementary color of #5E22BB?
- The complementary color is #7FBB22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E22BB?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.67:1. WCAG asks for at least 4.5:1 for normal text.