#28252E color
The hex color #28252E is a very dark, grayish violet.
In the RGB color model it is made of 15.7% red, 14.5% green and 18% blue (40, 37, 46).
Its hue angle is 260°, with 11% saturation and 16% lightness. For print, the CMYK equivalent is 13% cyan, 20% magenta, 0% yellow and 82% black.
The closest named color is Haiti (#2C2A35), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.06:1).
#28252E color codes
| HEX | #28252E | |
|---|---|---|
| RGB | rgb(40, 37, 46) | |
| RGB percent | rgb(15.7%, 14.5%, 18%) | |
| HSL | hsl(260, 11%, 16%) | |
| HSV / HSB | hsv(260, 20%, 18%) | |
| CMYK | cmyk(13%, 20%, 0%, 82%) | |
| CIE LAB | lab(15.34, 3.64, -5.41) | |
| CIE LCH | lch(15.34, 6.52, 303.98) | |
| CIE XYZ | xyz(2.03, 1.972, 2.858) | |
| Decimal | 2630958 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28252E, 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 #28252E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.06:1 | Pass | Pass | Pass |
| #28252E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.06:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #28252E looks to people with the most common types of color vision deficiency.
#23262eProtanopia
no red cones#24262eDeuteranopia
no green cones#272628Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #28252e; }
.text { color: #28252e; }
.border { border: 2px solid #28252e; }
.transparent { background-color: rgb(40 37 46 / 50%); }
.gradient { background: linear-gradient(to right, #28252e, #2c252e); }
Similar colors
#2c2a35Haiti#27252aDarth Vader#29292fJaguar#252024Ink Black#28282dAnthracite#201b20Night Demons#292b31Night Sky#222233Black Velvet
Closest common color name: Jet Black.
Questions
- What color is #28252E?
- #28252E is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #28252E?
- The RGB value is 40, 37, 46: 40 red, 37 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #28252E?
- The complementary color is #2B2E25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28252E?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.06:1. WCAG asks for at least 4.5:1 for normal text.