#382148 color
The hex color #382148 is a dark, desaturated violet.
In the RGB color model it is made of 22% red, 12.9% green and 28.2% blue (56, 33, 72).
Its hue angle is 275°, with 37% saturation and 21% lightness. For print, the CMYK equivalent is 22% cyan, 54% magenta, 0% yellow and 72% black.
The closest named color is Stormy Night (#372354), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.2:1).
#382148 color codes
| HEX | #382148 | |
|---|---|---|
| RGB | rgb(56, 33, 72) | |
| RGB percent | rgb(22%, 12.9%, 28.2%) | |
| HSL | hsl(275, 37%, 21%) | |
| HSV / HSB | hsv(275, 54%, 28%) | |
| CMYK | cmyk(22%, 54%, 0%, 72%) | |
| CIE LAB | lab(17.44, 19.69, -20.17) | |
| CIE LCH | lch(17.44, 28.18, 314.31) | |
| CIE XYZ | xyz(3.344, 2.396, 6.416) | |
| Decimal | 3678536 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382148, 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 #382148 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.2:1 | Pass | Pass | Pass |
| #382148 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.2:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #382148 looks to people with the most common types of color vision deficiency.
#172a49Protanopia
no red cones#1e2b47Deuteranopia
no green cones#362731Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #382148; }
.text { color: #382148; }
.border { border: 2px solid #382148; }
.transparent { background-color: rgb(56 33 72 / 50%); }
.gradient { background: linear-gradient(to right, #382148, #482145); }
Similar colors
#372354Stormy Night#3b193fCreatures of the Night#442244Purple Void#431c53Plunged Into Darkness#48295bAcai#2a2243Midnight Velvet#372d52Midnight Pie#4a2559Wonka Purple
Closest common color name: Dark Purple.
Questions
- What color is #382148?
- #382148 is a dark, desaturated violet, closest to the named color Stormy Night. It belongs to the purple family of colors.
- What is the RGB value of #382148?
- The RGB value is 56, 33, 72: 56 red, 33 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #382148?
- The complementary color is #314821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382148?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.2:1. WCAG asks for at least 4.5:1 for normal text.