#42123C color
The hex color #42123C is a very dark, moderate magenta.
In the RGB color model it is made of 25.9% red, 7.1% green and 23.5% blue (66, 18, 60).
Its hue angle is 308°, with 57% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 73% magenta, 9% yellow and 74% black.
The closest named color is Velvet Cosmos (#441144), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.18:1).
#42123C color codes
| HEX | #42123C | |
|---|---|---|
| RGB | rgb(66, 18, 60) | |
| RGB percent | rgb(25.9%, 7.1%, 23.5%) | |
| HSL | hsl(308, 57%, 16%) | |
| HSV / HSB | hsv(308, 73%, 26%) | |
| CMYK | cmyk(0%, 73%, 9%, 74%) | |
| CIE LAB | lab(15.05, 28.94, -15.47) | |
| CIE LCH | lch(15.05, 32.81, 331.87) | |
| CIE XYZ | xyz(3.279, 1.917, 4.471) | |
| Decimal | 4330044 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42123C, 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 #42123C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.18:1 | Pass | Pass | Pass |
| #42123C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.18:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #42123C looks to people with the most common types of color vision deficiency.
#11213dProtanopia
no red cones#21283bDeuteranopia
no green cones#451625Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #42123c; }
.text { color: #42123c; }
.border { border: 2px solid #42123c; }
.transparent { background-color: rgb(66 18 60 / 50%); }
.gradient { background: linear-gradient(to right, #42123c, #421224); }
Similar colors
#441144Velvet Cosmos#3b193fCreatures of the Night#391531Nightly Voyager#442244Purple Void#3f012cDark Sanctuary#4f284bMurasaki#2b0f2eDark Prom Queen#3b0346Romanic Scene
Closest common color name: Dark Purple.
Questions
- What color is #42123C?
- #42123C is a very dark, moderate magenta, closest to the named color Velvet Cosmos. It belongs to the purple family of colors.
- What is the RGB value of #42123C?
- The RGB value is 66, 18, 60: 66 red, 18 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #42123C?
- The complementary color is #124218, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42123C?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.18:1. WCAG asks for at least 4.5:1 for normal text.