#2B1B47 color
The hex color #2B1B47 is a very dark, desaturated violet.
In the RGB color model it is made of 16.9% red, 10.6% green and 27.8% blue (43, 27, 71).
Its hue angle is 262°, with 45% saturation and 19% lightness. For print, the CMYK equivalent is 39% cyan, 62% magenta, 0% yellow and 72% black.
The closest named color is Silent Orbit (#231C4D), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.55:1).
#2B1B47 color codes
| HEX | #2B1B47 | |
|---|---|---|
| RGB | rgb(43, 27, 71) | |
| RGB percent | rgb(16.9%, 10.6%, 27.8%) | |
| HSL | hsl(262, 45%, 19%) | |
| HSV / HSB | hsv(262, 62%, 28%) | |
| CMYK | cmyk(39%, 62%, 0%, 72%) | |
| CIE LAB | lab(14.13, 19.33, -24.85) | |
| CIE LCH | lch(14.13, 31.48, 307.87) | |
| CIE XYZ | xyz(2.525, 1.752, 6.165) | |
| Decimal | 2825031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B1B47, 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 #2B1B47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.55:1 | Pass | Pass | Pass |
| #2B1B47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.55:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #2B1B47 looks to people with the most common types of color vision deficiency.
#082448Protanopia
no red cones#0d2346Deuteranopia
no green cones#25242eTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #2b1b47; }
.text { color: #2b1b47; }
.border { border: 2px solid #2b1b47; }
.transparent { background-color: rgb(43 27 71 / 50%); }
.gradient { background: linear-gradient(to right, #2b1b47, #411b47); }
Similar colors
#231c4dSilent Orbit#372354Stormy Night#211d49Azulado#2a2551Pāua#2a2243Midnight Velvet#1c0f33Midnight Monarch#1c1e4dFly-by-Night#341758Fabric of Space
Closest common color name: Dark Purple.
Questions
- What color is #2B1B47?
- #2B1B47 is a very dark, desaturated violet, closest to the named color Silent Orbit. It belongs to the purple family of colors.
- What is the RGB value of #2B1B47?
- The RGB value is 43, 27, 71: 43 red, 27 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #2B1B47?
- The complementary color is #37471B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B1B47?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.55:1. WCAG asks for at least 4.5:1 for normal text.