#381B34 color
The hex color #381B34 is a very dark, desaturated magenta.
In the RGB color model it is made of 22% red, 10.6% green and 20.4% blue (56, 27, 52).
Its hue angle is 308°, with 35% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 52% magenta, 7% yellow and 78% black.
The closest named color is Nightly Voyager (#391531), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.28:1).
#381B34 color codes
| HEX | #381B34 | |
|---|---|---|
| RGB | rgb(56, 27, 52) | |
| RGB percent | rgb(22%, 10.6%, 20.4%) | |
| HSL | hsl(308, 35%, 16%) | |
| HSV / HSB | hsv(308, 52%, 22%) | |
| CMYK | cmyk(0%, 52%, 7%, 78%) | |
| CIE LAB | lab(14.8, 18.7, -10.3) | |
| CIE LCH | lch(14.8, 21.35, 331.15) | |
| CIE XYZ | xyz(2.643, 1.873, 3.47) | |
| Decimal | 3676980 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #381B34, 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 #381B34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.28:1 | Pass | Pass | Pass |
| #381B34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.28:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #381B34 looks to people with the most common types of color vision deficiency.
#1a2335Protanopia
no red cones#222733Deuteranopia
no green cones#3a1d25Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #381b34; }
.text { color: #381b34; }
.border { border: 2px solid #381b34; }
.transparent { background-color: rgb(56 27 52 / 50%); }
.gradient { background: linear-gradient(to right, #381b34, #381b25); }
Similar colors
#391531Nightly Voyager#301934Dark Purple#442244Purple Void#3b193fCreatures of the Night#2b0f2eDark Prom Queen#43182fBlackberry#4f284bMurasaki#44232fCastro
Questions
- What color is #381B34?
- #381B34 is a very dark, desaturated magenta, closest to the named color Nightly Voyager. It belongs to the purple family of colors.
- What is the RGB value of #381B34?
- The RGB value is 56, 27, 52: 56 red, 27 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #381B34?
- The complementary color is #1B381F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #381B34?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.28:1. WCAG asks for at least 4.5:1 for normal text.