#25162F color
The hex color #25162F is a very dark, desaturated violet.
In the RGB color model it is made of 14.5% red, 8.6% green and 18.4% blue (37, 22, 47).
Its hue angle is 276°, with 36% saturation and 14% lightness. For print, the CMYK equivalent is 21% cyan, 53% magenta, 0% yellow and 82% black.
The closest named color is Dark Purple (#301934), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.01:1).
#25162F color codes
| HEX | #25162F | |
|---|---|---|
| RGB | rgb(37, 22, 47) | |
| RGB percent | rgb(14.5%, 8.6%, 18.4%) | |
| HSL | hsl(276, 36%, 14%) | |
| HSV / HSB | hsv(276, 53%, 18%) | |
| CMYK | cmyk(21%, 53%, 0%, 82%) | |
| CIE LAB | lab(10.35, 13.56, -13.83) | |
| CIE LCH | lch(10.35, 19.37, 314.43) | |
| CIE XYZ | xyz(1.563, 1.172, 2.833) | |
| Decimal | 2430511 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25162F, 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 #25162F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.01:1 | Pass | Pass | Pass |
| #25162F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.01: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 #25162F looks to people with the most common types of color vision deficiency.
#111b30Protanopia
no red cones#141c2eDeuteranopia
no green cones#241a20Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #25162f; }
.text { color: #25162f; }
.border { border: 2px solid #25162f; }
.transparent { background-color: rgb(37 22 47 / 50%); }
.gradient { background: linear-gradient(to right, #25162f, #2f162d); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#1c0f33Midnight Monarch#1d0d1dShot in the Dark#2a2243Midnight Velvet#220022Black Sabbath#3b193fCreatures of the Night#391531Nightly Voyager
Questions
- What color is #25162F?
- #25162F 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 #25162F?
- The RGB value is 37, 22, 47: 37 red, 22 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #25162F?
- The complementary color is #202F16, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25162F?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.01:1. WCAG asks for at least 4.5:1 for normal text.