#42276A color
The hex color #42276A is a dark, desaturated violet.
In the RGB color model it is made of 25.9% red, 15.3% green and 41.6% blue (66, 39, 106).
Its hue angle is 264°, with 46% saturation and 28% lightness. For print, the CMYK equivalent is 38% cyan, 63% magenta, 0% yellow and 58% black.
The closest named color is Fading Horizon (#442266), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.14:1).
#42276A color codes
| HEX | #42276A | |
|---|---|---|
| RGB | rgb(66, 39, 106) | |
| RGB percent | rgb(25.9%, 15.3%, 41.6%) | |
| HSL | hsl(264, 46%, 28%) | |
| HSV / HSB | hsv(264, 63%, 42%) | |
| CMYK | cmyk(38%, 63%, 0%, 58%) | |
| CIE LAB | lab(22.48, 28.39, -34.71) | |
| CIE LCH | lch(22.48, 44.84, 309.29) | |
| CIE XYZ | xyz(5.573, 3.65, 14.044) | |
| Decimal | 4335466 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42276A, 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 #42276A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.14:1 | Pass | Pass | Pass |
| #42276A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.14:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #42276A looks to people with the most common types of color vision deficiency.
#00366cProtanopia
no red cones#0f3569Deuteranopia
no green cones#393544Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #42276a; }
.text { color: #42276a; }
.border { border: 2px solid #42276a; }
.transparent { background-color: rgb(66 39 106 / 50%); }
.gradient { background: linear-gradient(to right, #42276a, #63276a); }
Similar colors
#442266Fading Horizon#432e6fHer Highness#4b2c74Mystic Nights#332266Dark Dreams#522a6fPurple Seduction#2e2364Indie Go#3a1f76Explorer of the Galaxies#48357bGalactic Compass
Closest common color name: Midnight Blue.
Questions
- What color is #42276A?
- #42276A is a dark, desaturated violet, closest to the named color Fading Horizon. It belongs to the purple family of colors.
- What is the RGB value of #42276A?
- The RGB value is 66, 39, 106: 66 red, 39 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #42276A?
- The complementary color is #4F6A27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42276A?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.14:1. WCAG asks for at least 4.5:1 for normal text.