#312430 color
The hex color #312430 is a very dark, grayish magenta.
In the RGB color model it is made of 19.2% red, 14.1% green and 18.8% blue (49, 36, 48).
Its hue angle is 305°, with 15% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 2% yellow and 81% black.
The closest named color is Melanzane (#342931), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.73:1).
#312430 color codes
| HEX | #312430 | |
|---|---|---|
| RGB | rgb(49, 36, 48) | |
| RGB percent | rgb(19.2%, 14.1%, 18.8%) | |
| HSL | hsl(305, 15%, 17%) | |
| HSV / HSB | hsv(305, 27%, 19%) | |
| CMYK | cmyk(0%, 27%, 2%, 81%) | |
| CIE LAB | lab(16.15, 8.76, -5.5) | |
| CIE LCH | lch(16.15, 10.34, 327.84) | |
| CIE XYZ | xyz(2.431, 2.128, 3.078) | |
| Decimal | 3220528 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312430, 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 #312430 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.73:1 | Pass | Pass | Pass |
| #312430 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.73: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 #312430 looks to people with the most common types of color vision deficiency.
#232730Protanopia
no red cones#262930Deuteranopia
no green cones#322528Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #312430; }
.text { color: #312430; }
.border { border: 2px solid #312430; }
.transparent { background-color: rgb(49 36 48 / 50%); }
.gradient { background: linear-gradient(to right, #312430, #31242a); }
Similar colors
#342931Melanzane#34282cSmoky Charcoal#352b30Mystical Shadow#443240Voodoo#372528Aubergine#2c1620Black Cherry#2c2a35Haiti#403547Royal Decree
Closest common color name: Dark Purple.
Questions
- What color is #312430?
- #312430 is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #312430?
- The RGB value is 49, 36, 48: 49 red, 36 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #312430?
- The complementary color is #243125, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312430?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.73:1. WCAG asks for at least 4.5:1 for normal text.