#B31DB5 color
The hex color #B31DB5 is a moderate magenta.
In the RGB color model it is made of 70.2% red, 11.4% green and 71% blue (179, 29, 181).
Its hue angle is 299°, with 72% saturation and 41% lightness. For print, the CMYK equivalent is 1% cyan, 84% magenta, 0% yellow and 29% black.
The closest named color is Magentleman (#AA22BB), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.59:1).
#B31DB5 color codes
| HEX | #B31DB5 | |
|---|---|---|
| RGB | rgb(179, 29, 181) | |
| RGB percent | rgb(70.2%, 11.4%, 71%) | |
| HSL | hsl(299, 72%, 41%) | |
| HSV / HSB | hsv(299, 84%, 71%) | |
| CMYK | cmyk(1%, 84%, 0%, 29%) | |
| CIE LAB | lab(43.95, 71.79, -45.54) | |
| CIE LCH | lch(43.95, 85.02, 327.61) | |
| CIE XYZ | xyz(27.37, 13.801, 44.929) | |
| Decimal | 11738549 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B31DB5, 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 #B31DB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.76:1 | Fail | Fail | Pass |
| Sample text | 5.59:1 | Pass | Fail | Pass |
| #B31DB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.59:1 | Pass | Fail | Pass |
| Sample text | 3.76:1 | Fail | Fail | Pass |
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 #B31DB5 looks to people with the most common types of color vision deficiency.
#005cb9Protanopia
no red cones#4b6eb2Deuteranopia
no green cones#b93b6cTritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #b31db5; }
.text { color: #b31db5; }
.border { border: 2px solid #b31db5; }
.transparent { background-color: rgb(179 29 181 / 50%); }
.gradient { background: linear-gradient(to right, #b31db5, #b51d6b); }
Similar colors
#aa22bbMagentleman#bb11aaPunk Rock Purple#bb00aaPurple Pirate#aa11aaMagentle#bb22aaAmora Purple#aa22ccTelemagenta#aa00ccFerocious Fuchsia#cc11bbExplosive Purple
Closest common color name: Dark Orchid.
Questions
- What color is #B31DB5?
- #B31DB5 is a moderate magenta, closest to the named color Magentleman. It belongs to the purple family of colors.
- What is the RGB value of #B31DB5?
- The RGB value is 179, 29, 181: 179 red, 29 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #B31DB5?
- The complementary color is #1FB51D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B31DB5?
- White text. Black text has a contrast ratio of 3.76:1 and white text 5.59:1. WCAG asks for at least 4.5:1 for normal text.