#371151 color
The hex color #371151 is a very dark, moderate violet.
In the RGB color model it is made of 21.6% red, 6.7% green and 31.8% blue (55, 17, 81).
Its hue angle is 276°, with 65% saturation and 19% lightness. For print, the CMYK equivalent is 32% cyan, 79% magenta, 0% yellow and 68% black.
The closest named color is Fabric of Space (#341758), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.42:1).
#371151 color codes
| HEX | #371151 | |
|---|---|---|
| RGB | rgb(55, 17, 81) | |
| RGB percent | rgb(21.6%, 6.7%, 31.8%) | |
| HSL | hsl(276, 65%, 19%) | |
| HSV / HSB | hsv(276, 79%, 32%) | |
| CMYK | cmyk(32%, 79%, 0%, 68%) | |
| CIE LAB | lab(14.44, 31.26, -31.14) | |
| CIE LCH | lch(14.44, 44.12, 315.1) | |
| CIE XYZ | xyz(3.261, 1.807, 7.96) | |
| Decimal | 3608913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #371151, 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 #371151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.42:1 | Pass | Pass | Pass |
| #371151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.42:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #371151 looks to people with the most common types of color vision deficiency.
#002353Protanopia
no red cones#002550Deuteranopia
no green cones#332030Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #371151; }
.text { color: #371151; }
.border { border: 2px solid #371151; }
.transparent { background-color: rgb(55 17 81 / 50%); }
.gradient { background: linear-gradient(to right, #371151, #51114b); }
Similar colors
#341758Fabric of Space#37115cWicked Purple#330055Hollow Knight#431c53Plunged Into Darkness#3b0346Romanic Scene#340059Cotinga Purple#480656Clairvoyant#2d135fVoldemort
Closest common color name: Midnight Blue.
Questions
- What color is #371151?
- #371151 is a very dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
- What is the RGB value of #371151?
- The RGB value is 55, 17, 81: 55 red, 17 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #371151?
- The complementary color is #2B5111, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #371151?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.42:1. WCAG asks for at least 4.5:1 for normal text.