#940096 color
The hex color #940096 is a dark, vivid magenta.
In the RGB color model it is made of 58% red, 0% green and 58.8% blue (148, 0, 150).
Its hue angle is 299°, with 100% saturation and 29% lightness. For print, the CMYK equivalent is 1% cyan, 100% magenta, 0% yellow and 41% black.
The closest named color is Dark Magenta (#8B008B), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.78:1).
#940096 color codes
| HEX | #940096 | |
|---|---|---|
| RGB | rgb(148, 0, 150) | |
| RGB percent | rgb(58%, 0%, 58.8%) | |
| HSL | hsl(299, 100%, 29%) | |
| HSV / HSB | hsv(299, 100%, 59%) | |
| CMYK | cmyk(1%, 100%, 0%, 41%) | |
| CIE LAB | lab(35, 65.79, -41.56) | |
| CIE LCH | lch(35, 77.82, 327.72) | |
| CIE XYZ | xyz(17.718, 8.499, 29.556) | |
| Decimal | 9699478 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #940096, 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 #940096 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.7:1 | Fail | Fail | Fail |
| Sample text | 7.78:1 | Pass | Pass | Pass |
| #940096 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.78:1 | Pass | Pass | Pass |
| Sample text | 2.7: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 #940096 looks to people with the most common types of color vision deficiency.
#004899Protanopia
no red cones#385893Deuteranopia
no green cones#992956Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #940096; }
.text { color: #940096; }
.border { border: 2px solid #940096; }
.transparent { background-color: rgb(148 0 150 / 50%); }
.gradient { background: linear-gradient(to right, #940096, #96004d); }
Similar colors
#8b008bDark Magenta#9a2ca0Purple Ink#800080Purple#802280Hello Darkness My Old Friend#952e8fWarm Purple#aa11aaMagentle#881177Royal Purpleness#770088Ultraberry
Questions
- What color is #940096?
- #940096 is a dark, vivid magenta, closest to the named color Dark Magenta. It belongs to the purple family of colors.
- What is the RGB value of #940096?
- The RGB value is 148, 0, 150: 148 red, 0 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #940096?
- The complementary color is #029600, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #940096?
- White text. Black text has a contrast ratio of 2.7:1 and white text 7.78:1. WCAG asks for at least 4.5:1 for normal text.