#5811F2 color
The hex color #5811F2 is a vivid violet.
In the RGB color model it is made of 34.5% red, 6.7% green and 94.9% blue (88, 17, 242).
Its hue angle is 259°, with 90% saturation and 51% lightness. For print, the CMYK equivalent is 64% cyan, 93% magenta, 0% yellow and 5% black.
The closest named color is Blustering Blue (#4411FF), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.56:1).
#5811F2 color codes
| HEX | #5811F2 | |
|---|---|---|
| RGB | rgb(88, 17, 242) | |
| RGB percent | rgb(34.5%, 6.7%, 94.9%) | |
| HSL | hsl(259, 90%, 51%) | |
| HSV / HSB | hsv(259, 93%, 95%) | |
| CMYK | cmyk(64%, 93%, 0%, 5%) | |
| CIE LAB | lab(35.76, 75.5, -94.65) | |
| CIE LCH | lch(35.76, 121.07, 308.58) | |
| CIE XYZ | xyz(20.247, 8.885, 84.635) | |
| Decimal | 5771762 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5811F2, 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 #5811F2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.78:1 | Fail | Fail | Fail |
| Sample text | 7.56:1 | Pass | Pass | Pass |
| #5811F2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.56:1 | Pass | Pass | Pass |
| Sample text | 2.78: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 #5811F2 looks to people with the most common types of color vision deficiency.
#005bf7Protanopia
no red cones#004cefDeuteranopia
no green cones#00648fTritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #5811f2; }
.text { color: #5811f2; }
.border { border: 2px solid #5811f2; }
.transparent { background-color: rgb(88 17 242 / 50%); }
.gradient { background: linear-gradient(to right, #5811f2, #c811f2); }
Similar colors
#4411ffBlustering Blue#4400ffOverdue Blue#6600ffElectric Indigo#5511ddSpace Opera#1c1cf0Bluebonnet#7711ddVoluptuous Violet#0000ffBlue#5533ffMeteor Shower
Questions
- What color is #5811F2?
- #5811F2 is a vivid violet, closest to the named color Blustering Blue. It belongs to the purple family of colors.
- What is the RGB value of #5811F2?
- The RGB value is 88, 17, 242: 88 red, 17 green and 242 blue on a 0 to 255 scale.
- What is the complementary color of #5811F2?
- The complementary color is #ABF211, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5811F2?
- White text. Black text has a contrast ratio of 2.78:1 and white text 7.56:1. WCAG asks for at least 4.5:1 for normal text.