#301B2B color
The hex color #301B2B is a very dark, desaturated magenta.
In the RGB color model it is made of 18.8% red, 10.6% green and 16.9% blue (48, 27, 43).
Its hue angle is 314°, with 28% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 10% yellow and 81% black.
The closest named color is Black Cherry (#2C1620), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.94:1).
#301B2B color codes
| HEX | #301B2B | |
|---|---|---|
| RGB | rgb(48, 27, 43) | |
| RGB percent | rgb(18.8%, 10.6%, 16.9%) | |
| HSL | hsl(314, 28%, 15%) | |
| HSV / HSB | hsv(314, 44%, 19%) | |
| CMYK | cmyk(0%, 44%, 10%, 81%) | |
| CIE LAB | lab(13.15, 13.47, -6.46) | |
| CIE LCH | lch(13.15, 14.94, 334.36) | |
| CIE XYZ | xyz(2.047, 1.587, 2.483) | |
| Decimal | 3152683 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #301B2B, 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 #301B2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.94:1 | Pass | Pass | Pass |
| #301B2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.94:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #301B2B looks to people with the most common types of color vision deficiency.
#1b202cProtanopia
no red cones#20232aDeuteranopia
no green cones#321c21Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #301b2b; }
.text { color: #301b2b; }
.border { border: 2px solid #301b2b; }
.transparent { background-color: rgb(48 27 43 / 50%); }
.gradient { background: linear-gradient(to right, #301b2b, #301b21); }
Similar colors
#2c1620Black Cherry#301934Dark Purple#1d0d1dShot in the Dark#391531Nightly Voyager#44232fCastro#2b0f2eDark Prom Queen#3e1825Black-Hearted#342931Melanzane
Questions
- What color is #301B2B?
- #301B2B is a very dark, desaturated magenta, closest to the named color Black Cherry. It belongs to the purple family of colors.
- What is the RGB value of #301B2B?
- The RGB value is 48, 27, 43: 48 red, 27 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #301B2B?
- The complementary color is #1B3020, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #301B2B?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.94:1. WCAG asks for at least 4.5:1 for normal text.