#38294F color
The hex color #38294F is a dark, desaturated violet.
In the RGB color model it is made of 22% red, 16.1% green and 31% blue (56, 41, 79).
Its hue angle is 264°, with 32% saturation and 24% lightness. For print, the CMYK equivalent is 29% cyan, 48% magenta, 0% yellow and 69% black.
The closest named color is Midnight Pie (#372D52), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.14:1).
#38294F color codes
| HEX | #38294F | |
|---|---|---|
| RGB | rgb(56, 41, 79) | |
| RGB percent | rgb(22%, 16.1%, 31%) | |
| HSL | hsl(264, 32%, 24%) | |
| HSV / HSB | hsv(264, 48%, 31%) | |
| CMYK | cmyk(29%, 48%, 0%, 69%) | |
| CIE LAB | lab(20.01, 16.28, -20.88) | |
| CIE LCH | lch(20.01, 26.47, 307.95) | |
| CIE XYZ | xyz(3.835, 2.991, 7.771) | |
| Decimal | 3680591 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38294F, 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 #38294F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.14:1 | Pass | Pass | Pass |
| #38294F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.14:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #38294F looks to people with the most common types of color vision deficiency.
#1f3050Protanopia
no red cones#22304eDeuteranopia
no green cones#343038Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #38294f; }
.text { color: #38294f; }
.border { border: 2px solid #38294f; }
.transparent { background-color: rgb(56 41 79 / 50%); }
.gradient { background: linear-gradient(to right, #38294f, #4b294f); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#322c56Purple Noir#372354Stormy Night#2a2243Midnight Velvet#2a2551Pāua#48295bAcai#2c2c57Deep Sea Base
Closest common color name: Dark Purple.
Questions
- What color is #38294F?
- #38294F is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
- What is the RGB value of #38294F?
- The RGB value is 56, 41, 79: 56 red, 41 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #38294F?
- The complementary color is #404F29, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38294F?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.14:1. WCAG asks for at least 4.5:1 for normal text.