#382138 color
The hex color #382138 is a very dark, desaturated magenta.
In the RGB color model it is made of 22% red, 12.9% green and 22% blue (56, 33, 56).
Its hue angle is 300°, with 26% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 0% yellow and 78% black.
The closest named color is Dark Purple (#301934), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.56:1).
#382138 color codes
| HEX | #382138 | |
|---|---|---|
| RGB | rgb(56, 33, 56) | |
| RGB percent | rgb(22%, 12.9%, 22%) | |
| HSL | hsl(300, 26%, 17%) | |
| HSV / HSB | hsv(300, 41%, 22%) | |
| CMYK | cmyk(0%, 41%, 0%, 78%) | |
| CIE LAB | lab(16.57, 15.63, -10.41) | |
| CIE LCH | lch(16.57, 18.78, 326.33) | |
| CIE XYZ | xyz(2.888, 2.214, 4.016) | |
| Decimal | 3678520 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382138, 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 #382138 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.56:1 | Pass | Pass | Pass |
| #382138 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.56:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #382138 looks to people with the most common types of color vision deficiency.
#1f2739Protanopia
no red cones#252a37Deuteranopia
no green cones#39232aTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #382138; }
.text { color: #382138; }
.border { border: 2px solid #382138; }
.transparent { background-color: rgb(56 33 56 / 50%); }
.gradient { background: linear-gradient(to right, #382138, #38212d); }
Similar colors
#301934Dark Purple#442244Purple Void#391531Nightly Voyager#3b193fCreatures of the Night#2b0f2eDark Prom Queen#4e334eShadow Purple#3c2f4eSanctum of Shadows#443240Voodoo
Questions
- What color is #382138?
- #382138 is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #382138?
- The RGB value is 56, 33, 56: 56 red, 33 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #382138?
- The complementary color is #213821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382138?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.56:1. WCAG asks for at least 4.5:1 for normal text.