#42314C color
The hex color #42314C is a dark, grayish violet.
In the RGB color model it is made of 25.9% red, 19.2% green and 29.8% blue (66, 49, 76).
Its hue angle is 278°, with 22% saturation and 25% lightness. For print, the CMYK equivalent is 13% cyan, 36% magenta, 0% yellow and 70% black.
The closest named color is Sanctum of Shadows (#3C2F4E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.83:1).
#42314C color codes
| HEX | #42314C | |
|---|---|---|
| RGB | rgb(66, 49, 76) | |
| RGB percent | rgb(25.9%, 19.2%, 29.8%) | |
| HSL | hsl(278, 22%, 25%) | |
| HSV / HSB | hsv(278, 36%, 30%) | |
| CMYK | cmyk(13%, 36%, 0%, 70%) | |
| CIE LAB | lab(23.26, 13.64, -13.71) | |
| CIE LCH | lch(23.26, 19.34, 314.86) | |
| CIE XYZ | xyz(4.649, 3.877, 7.339) | |
| Decimal | 4337996 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42314C, 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 #42314C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.83:1 | Pass | Pass | Pass |
| #42314C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.83:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #42314C looks to people with the most common types of color vision deficiency.
#2d374dProtanopia
no red cones#30384bDeuteranopia
no green cones#41353bTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #42314c; }
.text { color: #42314c; }
.border { border: 2px solid #42314c; }
.transparent { background-color: rgb(66 49 76 / 50%); }
.gradient { background: linear-gradient(to right, #42314c, #4c3148); }
Similar colors
#3c2f4eSanctum of Shadows#3f354fMaharaja#42364cCall It a Night#4e334eShadow Purple#403547Royal Decree#372d52Midnight Pie#443240Voodoo#543254Purple Prose
Closest common color name: Dark Purple.
Questions
- What color is #42314C?
- #42314C is a dark, grayish violet, closest to the named color Sanctum of Shadows. It belongs to the purple family of colors.
- What is the RGB value of #42314C?
- The RGB value is 66, 49, 76: 66 red, 49 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #42314C?
- The complementary color is #3B4C31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42314C?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.83:1. WCAG asks for at least 4.5:1 for normal text.