#302951 color
The hex color #302951 is a dark, desaturated violet.
In the RGB color model it is made of 18.8% red, 16.1% green and 31.8% blue (48, 41, 81).
Its hue angle is 251°, with 33% saturation and 24% lightness. For print, the CMYK equivalent is 41% cyan, 49% magenta, 0% yellow and 68% black.
The closest named color is Purple Noir (#322C56), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.45:1).
#302951 color codes
| HEX | #302951 | |
|---|---|---|
| RGB | rgb(48, 41, 81) | |
| RGB percent | rgb(18.8%, 16.1%, 31.8%) | |
| HSL | hsl(251, 33%, 24%) | |
| HSV / HSB | hsv(251, 49%, 32%) | |
| CMYK | cmyk(41%, 49%, 0%, 68%) | |
| CIE LAB | lab(19.26, 14.32, -23.46) | |
| CIE LCH | lch(19.26, 27.49, 301.39) | |
| CIE XYZ | xyz(3.497, 2.808, 8.141) | |
| Decimal | 3156305 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302951, 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 #302951 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.45:1 | Pass | Pass | Pass |
| #302951 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.45:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #302951 looks to people with the most common types of color vision deficiency.
#1b2f52Protanopia
no red cones#1b2e50Deuteranopia
no green cones#273139Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #302951; }
.text { color: #302951; }
.border { border: 2px solid #302951; }
.transparent { background-color: rgb(48 41 81 / 50%); }
.gradient { background: linear-gradient(to right, #302951, #442951); }
Similar colors
#322c56Purple Noir#2a2551Pāua#372d52Midnight Pie#2c2c57Deep Sea Base#2a2243Midnight Velvet#222244Black Market#2e305eGalaxea#372354Stormy Night
Closest common color name: Dark Purple.
Questions
- What color is #302951?
- #302951 is a dark, desaturated violet, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #302951?
- The RGB value is 48, 41, 81: 48 red, 41 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #302951?
- The complementary color is #4A5129, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302951?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.45:1. WCAG asks for at least 4.5:1 for normal text.