#251D34 color
The hex color #251D34 is a very dark, desaturated violet.
In the RGB color model it is made of 14.5% red, 11.4% green and 20.4% blue (37, 29, 52).
Its hue angle is 261°, with 28% saturation and 16% lightness. For print, the CMYK equivalent is 29% cyan, 44% magenta, 0% yellow and 80% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.1:1).
#251D34 color codes
| HEX | #251D34 | |
|---|---|---|
| RGB | rgb(37, 29, 52) | |
| RGB percent | rgb(14.5%, 11.4%, 20.4%) | |
| HSL | hsl(261, 28%, 16%) | |
| HSV / HSB | hsv(261, 44%, 20%) | |
| CMYK | cmyk(29%, 44%, 0%, 80%) | |
| CIE LAB | lab(12.73, 9.96, -13.72) | |
| CIE LCH | lch(12.73, 16.95, 305.98) | |
| CIE XYZ | xyz(1.822, 1.52, 3.446) | |
| Decimal | 2432308 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251D34, 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 #251D34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.1:1 | Pass | Pass | Pass |
| #251D34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.1:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #251D34 looks to people with the most common types of color vision deficiency.
#172135Protanopia
no red cones#192133Deuteranopia
no green cones#222126Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #251d34; }
.text { color: #251d34; }
.border { border: 2px solid #251d34; }
.transparent { background-color: rgb(37 29 52 / 50%); }
.gradient { background: linear-gradient(to right, #251d34, #301d34); }
Similar colors
#2a2243Midnight Velvet#222233Black Velvet#222244Black Market#151931Dark Knight#1f2133Eclipse Elixir#301934Dark Purple#161d3bNightwalker#1c0f33Midnight Monarch
Questions
- What color is #251D34?
- #251D34 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #251D34?
- The RGB value is 37, 29, 52: 37 red, 29 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #251D34?
- The complementary color is #2C341D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251D34?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.1:1. WCAG asks for at least 4.5:1 for normal text.