#382E5A color
The hex color #382E5A is a dark, desaturated violet.
In the RGB color model it is made of 22% red, 18% green and 35.3% blue (56, 46, 90).
Its hue angle is 254°, with 32% saturation and 27% lightness. For print, the CMYK equivalent is 38% cyan, 49% magenta, 0% yellow and 65% black.
The closest named color is Purple Noir (#322C56), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.31:1).
#382E5A color codes
| HEX | #382E5A | |
|---|---|---|
| RGB | rgb(56, 46, 90) | |
| RGB percent | rgb(22%, 18%, 35.3%) | |
| HSL | hsl(254, 32%, 27%) | |
| HSV / HSB | hsv(254, 49%, 35%) | |
| CMYK | cmyk(38%, 49%, 0%, 65%) | |
| CIE LAB | lab(22.06, 16.18, -24.96) | |
| CIE LCH | lch(22.06, 29.75, 302.96) | |
| CIE XYZ | xyz(4.453, 3.533, 10.118) | |
| Decimal | 3681882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382E5A, 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 #382E5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.31:1 | Pass | Pass | Pass |
| #382E5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.31:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #382E5A looks to people with the most common types of color vision deficiency.
#1f355cProtanopia
no red cones#203459Deuteranopia
no green cones#30363fTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #382e5a; }
.text { color: #382e5a; }
.border { border: 2px solid #382e5a; }
.transparent { background-color: rgb(56 46 90 / 50%); }
.gradient { background: linear-gradient(to right, #382e5a, #4e2e5a); }
Similar colors
#322c56Purple Noir#372d52Midnight Pie#2c2c57Deep Sea Base#2a2551Pāua#2e305eGalaxea#372354Stormy Night#3c2f4eSanctum of Shadows#4a3b6aMeteorite
Closest common color name: Dark Slate Blue.
Questions
- What color is #382E5A?
- #382E5A is a dark, desaturated violet, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #382E5A?
- The RGB value is 56, 46, 90: 56 red, 46 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #382E5A?
- The complementary color is #505A2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382E5A?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.