#2B005D color
The hex color #2B005D is a very dark, vivid violet.
In the RGB color model it is made of 16.9% red, 0% green and 36.5% blue (43, 0, 93).
Its hue angle is 268°, with 100% saturation and 18% lightness. For print, the CMYK equivalent is 54% cyan, 100% magenta, 0% yellow and 64% black.
The closest named color is Cotinga Purple (#340059), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.66:1).
#2B005D color codes
| HEX | #2B005D | |
|---|---|---|
| RGB | rgb(43, 0, 93) | |
| RGB percent | rgb(16.9%, 0%, 36.5%) | |
| HSL | hsl(268, 100%, 18%) | |
| HSV / HSB | hsv(268, 100%, 36%) | |
| CMYK | cmyk(54%, 100%, 0%, 64%) | |
| CIE LAB | lab(11.3, 39.83, -44.49) | |
| CIE LCH | lch(11.3, 59.72, 311.84) | |
| CIE XYZ | xyz(2.971, 1.304, 10.449) | |
| Decimal | 2818141 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2B005D, 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 #2B005D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.66:1 | Pass | Pass | Pass |
| #2B005D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.66:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #2B005D looks to people with the most common types of color vision deficiency.
#001f5fProtanopia
no red cones#001d5bDeuteranopia
no green cones#1b2033Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #2b005d; }
.text { color: #2b005d; }
.border { border: 2px solid #2b005d; }
.transparent { background-color: rgb(43 0 93 / 50%); }
.gradient { background: linear-gradient(to right, #2b005d, #5a005d); }
Similar colors
#340059Cotinga Purple#220066Blackmail#330055Hollow Knight#2f1064Infinite Inkwell#2d135fVoldemort#37115cWicked Purple#110066The Vast of Night#330077Galactic Federation
Closest common color name: Midnight Blue.
Questions
- What color is #2B005D?
- #2B005D is a very dark, vivid violet, closest to the named color Cotinga Purple. It belongs to the black family of colors.
- What is the RGB value of #2B005D?
- The RGB value is 43, 0, 93: 43 red, 0 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #2B005D?
- The complementary color is #325D00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2B005D?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.66:1. WCAG asks for at least 4.5:1 for normal text.