#2E0C69 color
The hex color #2E0C69 is a dark, moderate violet.
In the RGB color model it is made of 18% red, 4.7% green and 41.2% blue (46, 12, 105).
Its hue angle is 262°, with 79% saturation and 23% lightness. For print, the CMYK equivalent is 56% cyan, 89% magenta, 0% yellow and 59% black.
The closest named color is Infinite Inkwell (#2F1064), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.3:1).
#2E0C69 color codes
| HEX | #2E0C69 | |
|---|---|---|
| RGB | rgb(46, 12, 105) | |
| RGB percent | rgb(18%, 4.7%, 41.2%) | |
| HSL | hsl(262, 79%, 23%) | |
| HSV / HSB | hsv(262, 89%, 41%) | |
| CMYK | cmyk(56%, 89%, 0%, 59%) | |
| CIE LAB | lab(14.75, 38.52, -46.76) | |
| CIE LCH | lch(14.75, 60.58, 309.48) | |
| CIE XYZ | xyz(3.807, 1.864, 13.521) | |
| Decimal | 3017833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E0C69, 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 #2E0C69 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.3:1 | Pass | Pass | Pass |
| #2E0C69 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.3:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #2E0C69 looks to people with the most common types of color vision deficiency.
#00276bProtanopia
no red cones#002367Deuteranopia
no green cones#17293cTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #2e0c69; }
.text { color: #2e0c69; }
.border { border: 2px solid #2e0c69; }
.transparent { background-color: rgb(46 12 105 / 50%); }
.gradient { background: linear-gradient(to right, #2e0c69, #5d0c69); }
Similar colors
#2f1064Infinite Inkwell#2d135fVoldemort#220066Blackmail#330077Galactic Federation#220077Child of the Night#37115cWicked Purple#340059Cotinga Purple#110066The Vast of Night
Closest common color name: Midnight Blue.
Questions
- What color is #2E0C69?
- #2E0C69 is a dark, moderate violet, closest to the named color Infinite Inkwell. It belongs to the purple family of colors.
- What is the RGB value of #2E0C69?
- The RGB value is 46, 12, 105: 46 red, 12 green and 105 blue on a 0 to 255 scale.
- What is the complementary color of #2E0C69?
- The complementary color is #47690C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E0C69?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.3:1. WCAG asks for at least 4.5:1 for normal text.