#5B0058 color
The hex color #5B0058 is a very dark, vivid magenta.
In the RGB color model it is made of 35.7% red, 0% green and 34.5% blue (91, 0, 88).
Its hue angle is 302°, with 100% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 3% yellow and 64% black.
The closest named color is Cloak and Dagger (#550055), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.24:1).
#5B0058 color codes
| HEX | #5B0058 | |
|---|---|---|
| RGB | rgb(91, 0, 88) | |
| RGB percent | rgb(35.7%, 0%, 34.5%) | |
| HSL | hsl(302, 100%, 18%) | |
| HSV / HSB | hsv(302, 100%, 36%) | |
| CMYK | cmyk(0%, 100%, 3%, 64%) | |
| CIE LAB | lab(19.76, 45.79, -26.98) | |
| CIE LCH | lch(19.76, 53.15, 329.49) | |
| CIE XYZ | xyz(6.076, 2.929, 9.476) | |
| Decimal | 5963864 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B0058, 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 #5B0058 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.24:1 | Pass | Pass | Pass |
| #5B0058 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.24:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #5B0058 looks to people with the most common types of color vision deficiency.
#00285aProtanopia
no red cones#223456Deuteranopia
no green cones#5f1231Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #5b0058; }
.text { color: #5b0058; }
.border { border: 2px solid #5b0058; }
.transparent { background-color: rgb(91 0 88 / 50%); }
.gradient { background: linear-gradient(to right, #5b0058, #5b002b); }
Similar colors
#550055Cloak and Dagger#551155Cosmic Explorer#581a57Purple Velour#480656Clairvoyant#540d6eVelvet Vortex#441144Velvet Cosmos#552367Elegant Purple Gown#3b0346Romanic Scene
Closest common color name: Byzantium.
Questions
- What color is #5B0058?
- #5B0058 is a very dark, vivid magenta, closest to the named color Cloak and Dagger. It belongs to the purple family of colors.
- What is the RGB value of #5B0058?
- The RGB value is 91, 0, 88: 91 red, 0 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #5B0058?
- The complementary color is #005B03, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B0058?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.24:1. WCAG asks for at least 4.5:1 for normal text.