#302147 color
The hex color #302147 is a dark, desaturated violet.
In the RGB color model it is made of 18.8% red, 12.9% green and 27.8% blue (48, 33, 71).
Its hue angle is 264°, with 37% saturation and 20% lightness. For print, the CMYK equivalent is 32% cyan, 54% magenta, 0% yellow and 72% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.64:1).
#302147 color codes
| HEX | #302147 | |
|---|---|---|
| RGB | rgb(48, 33, 71) | |
| RGB percent | rgb(18.8%, 12.9%, 27.8%) | |
| HSL | hsl(264, 37%, 20%) | |
| HSV / HSB | hsv(264, 54%, 28%) | |
| CMYK | cmyk(32%, 54%, 0%, 72%) | |
| CIE LAB | lab(16.36, 16.75, -21.26) | |
| CIE LCH | lch(16.36, 27.07, 308.24) | |
| CIE XYZ | xyz(2.9, 2.171, 6.226) | |
| Decimal | 3154247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302147, 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 #302147 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.64:1 | Pass | Pass | Pass |
| #302147 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.64:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #302147 looks to people with the most common types of color vision deficiency.
#152848Protanopia
no red cones#192846Deuteranopia
no green cones#2c2830Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #302147; }
.text { color: #302147; }
.border { border: 2px solid #302147; }
.transparent { background-color: rgb(48 33 71 / 50%); }
.gradient { background: linear-gradient(to right, #302147, #432147); }
Similar colors
#2a2243Midnight Velvet#372354Stormy Night#372d52Midnight Pie#2a2551Pāua#211d49Azulado#322c56Purple Noir#231c4dSilent Orbit#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #302147?
- #302147 is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #302147?
- The RGB value is 48, 33, 71: 48 red, 33 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #302147?
- The complementary color is #384721, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302147?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.64:1. WCAG asks for at least 4.5:1 for normal text.