#42334A color
The hex color #42334A is a dark, grayish violet.
In the RGB color model it is made of 25.9% red, 20% green and 29% blue (66, 51, 74).
Its hue angle is 279°, with 18% saturation and 25% lightness. For print, the CMYK equivalent is 11% cyan, 31% magenta, 0% yellow and 71% black.
The closest named color is Call It a Night (#42364C), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.64:1).
#42334A color codes
| HEX | #42334A | |
|---|---|---|
| RGB | rgb(66, 51, 74) | |
| RGB percent | rgb(25.9%, 20%, 29%) | |
| HSL | hsl(279, 18%, 25%) | |
| HSV / HSB | hsv(279, 31%, 29%) | |
| CMYK | cmyk(11%, 31%, 0%, 71%) | |
| CIE LAB | lab(23.74, 11.8, -11.63) | |
| CIE LCH | lch(23.74, 16.57, 315.4) | |
| CIE XYZ | xyz(4.666, 4.02, 7.007) | |
| Decimal | 4338506 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42334A, 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 #42334A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.64:1 | Pass | Pass | Pass |
| #42334A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.64:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #42334A looks to people with the most common types of color vision deficiency.
#30384bProtanopia
no red cones#333949Deuteranopia
no green cones#41363bTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #42334a; }
.text { color: #42334a; }
.border { border: 2px solid #42334a; }
.transparent { background-color: rgb(66 51 74 / 50%); }
.gradient { background: linear-gradient(to right, #42334a, #4a3346); }
Similar colors
#42364cCall It a Night#3f354fMaharaja#403547Royal Decree#3c2f4eSanctum of Shadows#443240Voodoo#4e334eShadow Purple#372d52Midnight Pie#544563Nightly Walk
Closest common color name: Dark Purple.
Questions
- What color is #42334A?
- #42334A is a dark, grayish violet, closest to the named color Call It a Night. It belongs to the purple family of colors.
- What is the RGB value of #42334A?
- The RGB value is 66, 51, 74: 66 red, 51 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #42334A?
- The complementary color is #3B4A33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42334A?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.64:1. WCAG asks for at least 4.5:1 for normal text.