#251F2F color
The hex color #251F2F is a very dark, grayish violet.
In the RGB color model it is made of 14.5% red, 12.2% green and 18.4% blue (37, 31, 47).
Its hue angle is 263°, with 21% saturation and 15% lightness. For print, the CMYK equivalent is 21% cyan, 34% magenta, 0% yellow and 82% black.
The closest named color is Black Velvet (#222233), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.96:1).
#251F2F color codes
| HEX | #251F2F | |
|---|---|---|
| RGB | rgb(37, 31, 47) | |
| RGB percent | rgb(14.5%, 12.2%, 18.4%) | |
| HSL | hsl(263, 21%, 15%) | |
| HSV / HSB | hsv(263, 34%, 18%) | |
| CMYK | cmyk(21%, 34%, 0%, 82%) | |
| CIE LAB | lab(13.1, 7, -9.56) | |
| CIE LCH | lch(13.1, 11.85, 306.22) | |
| CIE XYZ | xyz(1.766, 1.579, 2.9) | |
| Decimal | 2432815 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251F2F, 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 #251F2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.96:1 | Pass | Pass | Pass |
| #251F2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.96:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #251F2F looks to people with the most common types of color vision deficiency.
#1c2230Protanopia
no red cones#1d222fDeuteranopia
no green cones#232125Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #251f2f; }
.text { color: #251f2f; }
.border { border: 2px solid #251f2f; }
.transparent { background-color: rgb(37 31 47 / 50%); }
.gradient { background: linear-gradient(to right, #251f2f, #2d1f2f); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#2c2a35Haiti#21263aMidnight Express#111122Corbeau#151931Dark Knight#342931Melanzane#1a161dViolet Void
Closest common color name: Dark Purple.
Questions
- What color is #251F2F?
- #251F2F is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #251F2F?
- The RGB value is 37, 31, 47: 37 red, 31 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #251F2F?
- The complementary color is #292F1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251F2F?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.96:1. WCAG asks for at least 4.5:1 for normal text.