#302336 color
The hex color #302336 is a very dark, grayish magenta.
In the RGB color model it is made of 18.8% red, 13.7% green and 21.2% blue (48, 35, 54).
Its hue angle is 281°, with 21% saturation and 17% lightness. For print, the CMYK equivalent is 11% cyan, 35% magenta, 0% yellow and 79% black.
The closest named color is Dark Purple (#301934), a difference of 5.1 ΔE.
White text is the more readable choice on this background (contrast 14.8:1).
#302336 color codes
| HEX | #302336 | |
|---|---|---|
| RGB | rgb(48, 35, 54) | |
| RGB percent | rgb(18.8%, 13.7%, 21.2%) | |
| HSL | hsl(281, 21%, 17%) | |
| HSV / HSB | hsv(281, 35%, 21%) | |
| CMYK | cmyk(11%, 35%, 0%, 79%) | |
| CIE LAB | lab(15.99, 10.54, -10) | |
| CIE LCH | lch(15.99, 14.52, 316.51) | |
| CIE XYZ | xyz(2.486, 2.097, 3.763) | |
| Decimal | 3154742 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302336, 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 #302336 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.8:1 | Pass | Pass | Pass |
| #302336 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.8:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #302336 looks to people with the most common types of color vision deficiency.
#202737Protanopia
no red cones#232835Deuteranopia
no green cones#30252aTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #302336; }
.text { color: #302336; }
.border { border: 2px solid #302336; }
.transparent { background-color: rgb(48 35 54 / 50%); }
.gradient { background: linear-gradient(to right, #302336, #362333); }
Similar colors
#301934Dark Purple#403547Royal Decree#342931Melanzane#2a2243Midnight Velvet#443240Voodoo#3c2f4eSanctum of Shadows#42364cCall It a Night#222233Black Velvet
Questions
- What color is #302336?
- #302336 is a very dark, grayish magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #302336?
- The RGB value is 48, 35, 54: 48 red, 35 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #302336?
- The complementary color is #293623, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302336?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.8:1. WCAG asks for at least 4.5:1 for normal text.