#373151 color
The hex color #373151 is a dark, grayish violet.
In the RGB color model it is made of 21.6% red, 19.2% green and 31.8% blue (55, 49, 81).
Its hue angle is 251°, with 25% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 40% magenta, 0% yellow and 68% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.21:1).
#373151 color codes
| HEX | #373151 | |
|---|---|---|
| RGB | rgb(55, 49, 81) | |
| RGB percent | rgb(21.6%, 19.2%, 31.8%) | |
| HSL | hsl(251, 25%, 25%) | |
| HSV / HSB | hsv(251, 40%, 32%) | |
| CMYK | cmyk(32%, 40%, 0%, 68%) | |
| CIE LAB | lab(22.31, 11.05, -18.61) | |
| CIE LCH | lch(22.31, 21.64, 300.7) | |
| CIE XYZ | xyz(4.159, 3.603, 8.259) | |
| Decimal | 3617105 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #373151, 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 #373151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.21:1 | Pass | Pass | Pass |
| #373151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.21:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #373151 looks to people with the most common types of color vision deficiency.
#283652Protanopia
no red cones#293550Deuteranopia
no green cones#31373dTritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #373151; }
.text { color: #373151; }
.border { border: 2px solid #373151; }
.transparent { background-color: rgb(55 49 81 / 50%); }
.gradient { background: linear-gradient(to right, #373151, #473151); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#3f354fMaharaja#322c56Purple Noir#2c2e47Midnight Masquerade#2c2c57Deep Sea Base#3d3d63Storm Is Coming#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #373151?
- #373151 is a dark, grayish violet, closest to the named color Midnight Pie. It belongs to the blue family of colors.
- What is the RGB value of #373151?
- The RGB value is 55, 49, 81: 55 red, 49 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #373151?
- The complementary color is #4B5131, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #373151?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.21:1. WCAG asks for at least 4.5:1 for normal text.