#42283F color
The hex color #42283F is a dark, grayish magenta.
In the RGB color model it is made of 25.9% red, 15.7% green and 24.7% blue (66, 40, 63).
Its hue angle is 307°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 5% yellow and 74% black.
The closest named color is Shadow Purple (#4E334E), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.07:1).
#42283F color codes
| HEX | #42283F | |
|---|---|---|
| RGB | rgb(66, 40, 63) | |
| RGB percent | rgb(25.9%, 15.7%, 24.7%) | |
| HSL | hsl(307, 25%, 21%) | |
| HSV / HSB | hsv(307, 39%, 26%) | |
| CMYK | cmyk(0%, 39%, 5%, 74%) | |
| CIE LAB | lab(20.18, 16.53, -9.62) | |
| CIE LCH | lch(20.18, 19.13, 329.8) | |
| CIE XYZ | xyz(3.903, 3.035, 5.082) | |
| Decimal | 4335679 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42283F, 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 #42283F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.07:1 | Pass | Pass | Pass |
| #42283F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.07:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #42283F looks to people with the most common types of color vision deficiency.
#272e40Protanopia
no red cones#2e323eDeuteranopia
no green cones#442a30Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #42283f; }
.text { color: #42283f; }
.border { border: 2px solid #42283f; }
.transparent { background-color: rgb(66 40 63 / 50%); }
.gradient { background: linear-gradient(to right, #42283f, #422832); }
Similar colors
#4e334eShadow Purple#442244Purple Void#4f284bMurasaki#443240Voodoo#301934Dark Purple#543254Purple Prose#391531Nightly Voyager#44232fCastro
Questions
- What color is #42283F?
- #42283F is a dark, grayish magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
- What is the RGB value of #42283F?
- The RGB value is 66, 40, 63: 66 red, 40 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #42283F?
- The complementary color is #28422B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42283F?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.07:1. WCAG asks for at least 4.5:1 for normal text.