#2E254A color
The hex color #2E254A is a dark, desaturated violet.
In the RGB color model it is made of 18% red, 14.5% green and 29% blue (46, 37, 74).
Its hue angle is 255°, with 33% saturation and 22% lightness. For print, the CMYK equivalent is 38% cyan, 50% magenta, 0% yellow and 71% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.19:1).
#2E254A color codes
| HEX | #2E254A | |
|---|---|---|
| RGB | rgb(46, 37, 74) | |
| RGB percent | rgb(18%, 14.5%, 29%) | |
| HSL | hsl(255, 33%, 22%) | |
| HSV / HSB | hsv(255, 50%, 29%) | |
| CMYK | cmyk(38%, 50%, 0%, 71%) | |
| CIE LAB | lab(17.45, 14.24, -21.6) | |
| CIE LCH | lch(17.45, 25.87, 303.4) | |
| CIE XYZ | xyz(3.024, 2.398, 6.781) | |
| Decimal | 3024202 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E254A, 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 #2E254A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19:1 | Pass | Pass | Pass |
| #2E254A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #2E254A looks to people with the most common types of color vision deficiency.
#192b4bProtanopia
no red cones#1a2a49Deuteranopia
no green cones#272c34Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #2e254a; }
.text { color: #2e254a; }
.border { border: 2px solid #2e254a; }
.transparent { background-color: rgb(46 37 74 / 50%); }
.gradient { background: linear-gradient(to right, #2e254a, #40254a); }
Similar colors
#2a2243Midnight Velvet#372d52Midnight Pie#2a2551Pāua#322c56Purple Noir#222244Black Market#211d49Azulado#2c2c57Deep Sea Base#372354Stormy Night
Closest common color name: Dark Purple.
Questions
- What color is #2E254A?
- #2E254A is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #2E254A?
- The RGB value is 46, 37, 74: 46 red, 37 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #2E254A?
- The complementary color is #414A25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E254A?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.19:1. WCAG asks for at least 4.5:1 for normal text.