#2B105E color
The hex color #2B105E is a dark, moderate violet.
In the RGB color model it is made of 16.9% red, 6.3% green and 36.9% blue (43, 16, 94).
Its hue angle is 261°, with 71% saturation and 22% lightness. For print, the CMYK equivalent is 54% cyan, 83% magenta, 0% yellow and 63% black.
The closest named color is Voldemort (#2D135F), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.69:1).
#2B105E color codes
| HEX | #2B105E | |
|---|---|---|
| RGB | rgb(43, 16, 94) | |
| RGB percent | rgb(16.9%, 6.3%, 36.9%) | |
| HSL | hsl(261, 71%, 22%) | |
| HSV / HSB | hsv(261, 83%, 37%) | |
| CMYK | cmyk(54%, 83%, 0%, 63%) | |
| CIE LAB | lab(13.78, 33.11, -41.08) | |
| CIE LCH | lch(13.78, 52.76, 308.87) | |
| CIE XYZ | xyz(3.201, 1.692, 10.745) | |
| Decimal | 2822238 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B105E, 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 #2B105E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.69:1 | Pass | Pass | Pass |
| #2B105E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.69:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #2B105E looks to people with the most common types of color vision deficiency.
#002460Protanopia
no red cones#00215dDeuteranopia
no green cones#192637Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #2b105e; }
.text { color: #2b105e; }
.border { border: 2px solid #2b105e; }
.transparent { background-color: rgb(43 16 94 / 50%); }
.gradient { background: linear-gradient(to right, #2b105e, #52105e); }
Similar colors
#2d135fVoldemort#2f1064Infinite Inkwell#37115cWicked Purple#341758Fabric of Space#150f5bSpace Colonisation#340059Cotinga Purple#220066Blackmail#330055Hollow Knight
Closest common color name: Midnight Blue.
Questions
- What color is #2B105E?
- #2B105E is a dark, moderate violet, closest to the named color Voldemort. It belongs to the purple family of colors.
- What is the RGB value of #2B105E?
- The RGB value is 43, 16, 94: 43 red, 16 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #2B105E?
- The complementary color is #435E10, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B105E?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.69:1. WCAG asks for at least 4.5:1 for normal text.