#251D30 color
The hex color #251D30 is a very dark, grayish violet.
In the RGB color model it is made of 14.5% red, 11.4% green and 18.8% blue (37, 29, 48).
Its hue angle is 265°, with 25% saturation and 15% lightness. For print, the CMYK equivalent is 23% cyan, 40% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.19:1).
#251D30 color codes
| HEX | #251D30 | |
|---|---|---|
| RGB | rgb(37, 29, 48) | |
| RGB percent | rgb(14.5%, 11.4%, 18.8%) | |
| HSL | hsl(265, 25%, 15%) | |
| HSV / HSB | hsv(265, 40%, 19%) | |
| CMYK | cmyk(23%, 40%, 0%, 81%) | |
| CIE LAB | lab(12.52, 8.76, -11.18) | |
| CIE LCH | lch(12.52, 14.2, 308.07) | |
| CIE XYZ | xyz(1.736, 1.485, 2.991) | |
| Decimal | 2432304 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251D30, 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 #251D30 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.19:1 | Pass | Pass | Pass |
| #251D30 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.19: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 #251D30 looks to people with the most common types of color vision deficiency.
#192031Protanopia
no red cones#1a212fDeuteranopia
no green cones#232024Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #251d30; }
.text { color: #251d30; }
.border { border: 2px solid #251d30; }
.transparent { background-color: rgb(37 29 48 / 50%); }
.gradient { background: linear-gradient(to right, #251d30, #2f1d30); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#1d0d1dShot in the Dark#151931Dark Knight#2a2243Midnight Velvet#111122Corbeau#301934Dark Purple#2c2a35Haiti
Questions
- What color is #251D30?
- #251D30 is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the purple family of colors.
- What is the RGB value of #251D30?
- The RGB value is 37, 29, 48: 37 red, 29 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #251D30?
- The complementary color is #28301D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251D30?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.19:1. WCAG asks for at least 4.5:1 for normal text.