#251530 color
The hex color #251530 is a very dark, desaturated violet.
In the RGB color model it is made of 14.5% red, 8.2% green and 18.8% blue (37, 21, 48).
Its hue angle is 276°, with 39% saturation and 14% lightness. For print, the CMYK equivalent is 23% cyan, 56% magenta, 0% yellow and 81% black.
The closest named color is Dark Purple (#301934), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.09:1).
#251530 color codes
| HEX | #251530 | |
|---|---|---|
| RGB | rgb(37, 21, 48) | |
| RGB percent | rgb(14.5%, 8.2%, 18.8%) | |
| HSL | hsl(276, 39%, 14%) | |
| HSV / HSB | hsv(276, 56%, 19%) | |
| CMYK | cmyk(23%, 56%, 0%, 81%) | |
| CIE LAB | lab(10.13, 14.56, -14.91) | |
| CIE LCH | lch(10.13, 20.84, 314.32) | |
| CIE XYZ | xyz(1.565, 1.143, 2.934) | |
| Decimal | 2430256 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251530, 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 #251530 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.09:1 | Pass | Pass | Pass |
| #251530 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.09:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #251530 looks to people with the most common types of color vision deficiency.
#0f1b31Protanopia
no red cones#131c2fDeuteranopia
no green cones#241920Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #251530; }
.text { color: #251530; }
.border { border: 2px solid #251530; }
.transparent { background-color: rgb(37 21 48 / 50%); }
.gradient { background: linear-gradient(to right, #251530, #30152e); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#1c0f33Midnight Monarch#2a2243Midnight Velvet#1d0d1dShot in the Dark#220022Black Sabbath#3b193fCreatures of the Night#391531Nightly Voyager
Questions
- What color is #251530?
- #251530 is a very dark, desaturated violet, closest to the named color Dark Purple. It belongs to the black family of colors.
- What is the RGB value of #251530?
- The RGB value is 37, 21, 48: 37 red, 21 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #251530?
- The complementary color is #203015, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251530?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.09:1. WCAG asks for at least 4.5:1 for normal text.