#382178 color
The hex color #382178 is a dark, moderate violet.
In the RGB color model it is made of 22% red, 12.9% green and 47.1% blue (56, 33, 120).
Its hue angle is 256°, with 57% saturation and 30% lightness. For print, the CMYK equivalent is 53% cyan, 73% magenta, 0% yellow and 53% black.
The closest named color is Explorer of the Galaxies (#3A1F76), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.67:1).
#382178 color codes
| HEX | #382178 | |
|---|---|---|
| RGB | rgb(56, 33, 120) | |
| RGB percent | rgb(22%, 12.9%, 47.1%) | |
| HSL | hsl(256, 57%, 30%) | |
| HSV / HSB | hsv(256, 73%, 47%) | |
| CMYK | cmyk(53%, 73%, 0%, 53%) | |
| CIE LAB | lab(21.15, 34.02, -45.93) | |
| CIE LCH | lch(21.15, 57.16, 306.52) | |
| CIE XYZ | xyz(5.564, 3.284, 18.106) | |
| Decimal | 3678584 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #382178, 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 #382178 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.67:1 | Pass | Pass | Pass |
| #382178 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.67:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #382178 looks to people with the most common types of color vision deficiency.
#00357bProtanopia
no red cones#003176Deuteranopia
no green cones#21374aTritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #382178; }
.text { color: #382178; }
.border { border: 2px solid #382178; }
.transparent { background-color: rgb(56 33 120 / 50%); }
.gradient { background: linear-gradient(to right, #382178, #632178); }
Similar colors
#3a1f76Explorer of the Galaxies#332277Deep Space Rodeo#442288Galactic Civilization#301885Indiglow#332266Dark Dreams#4b1e87Occult#2e2364Indie Go#191970Midnight Blue
Questions
- What color is #382178?
- #382178 is a dark, moderate violet, closest to the named color Explorer of the Galaxies. It belongs to the purple family of colors.
- What is the RGB value of #382178?
- The RGB value is 56, 33, 120: 56 red, 33 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #382178?
- The complementary color is #617821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #382178?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.67:1. WCAG asks for at least 4.5:1 for normal text.