#38315F color
The hex color #38315F is a dark, desaturated blue.
In the RGB color model it is made of 22% red, 19.2% green and 37.3% blue (56, 49, 95).
Its hue angle is 249°, with 32% saturation and 28% lightness. For print, the CMYK equivalent is 41% cyan, 48% magenta, 0% yellow and 63% black.
The closest named color is Purple Noir (#322C56), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.85:1).
#38315F color codes
| HEX | #38315F | |
|---|---|---|
| RGB | rgb(56, 49, 95) | |
| RGB percent | rgb(22%, 19.2%, 37.3%) | |
| HSL | hsl(249, 32%, 28%) | |
| HSV / HSB | hsv(249, 48%, 37%) | |
| CMYK | cmyk(41%, 48%, 0%, 63%) | |
| CIE LAB | lab(23.21, 15.71, -26.42) | |
| CIE LCH | lch(23.21, 30.74, 300.74) | |
| CIE XYZ | xyz(4.794, 3.863, 11.317) | |
| Decimal | 3682655 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38315F, 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 #38315F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.85:1 | Pass | Pass | Pass |
| #38315F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.85:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #38315F looks to people with the most common types of color vision deficiency.
#213861Protanopia
no red cones#21365eDeuteranopia
no green cones#2e3a43Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #38315f; }
.text { color: #38315f; }
.border { border: 2px solid #38315f; }
.transparent { background-color: rgb(56 49 95 / 50%); }
.gradient { background: linear-gradient(to right, #38315f, #4f315f); }
Similar colors
#322c56Purple Noir#2e305eGalaxea#2c2c57Deep Sea Base#372d52Midnight Pie#2a2551Pāua#4a3b6aMeteorite#3d3d63Storm Is Coming#372354Stormy Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #38315F?
- #38315F is a dark, desaturated blue, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #38315F?
- The RGB value is 56, 49, 95: 56 red, 49 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #38315F?
- The complementary color is #585F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38315F?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.85:1. WCAG asks for at least 4.5:1 for normal text.