#282130 color
The hex color #282130 is a very dark, grayish violet.
In the RGB color model it is made of 15.7% red, 12.9% green and 18.8% blue (40, 33, 48).
Its hue angle is 268°, with 19% saturation and 16% lightness. For print, the CMYK equivalent is 17% cyan, 31% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.55:1).
#282130 color codes
| HEX | #282130 | |
|---|---|---|
| RGB | rgb(40, 33, 48) | |
| RGB percent | rgb(15.7%, 12.9%, 18.8%) | |
| HSL | hsl(268, 19%, 16%) | |
| HSV / HSB | hsv(268, 31%, 19%) | |
| CMYK | cmyk(17%, 31%, 0%, 81%) | |
| CIE LAB | lab(14.13, 7.07, -8.67) | |
| CIE LCH | lch(14.13, 11.18, 309.19) | |
| CIE XYZ | xyz(1.952, 1.752, 3.031) | |
| Decimal | 2629936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282130, 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 #282130 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.55:1 | Pass | Pass | Pass |
| #282130 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.55:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #282130 looks to people with the most common types of color vision deficiency.
#1e2431Protanopia
no red cones#202430Deuteranopia
no green cones#272326Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #282130; }
.text { color: #282130; }
.border { border: 2px solid #282130; }
.transparent { background-color: rgb(40 33 48 / 50%); }
.gradient { background: linear-gradient(to right, #282130, #2f2130); }
Similar colors
#222233Black Velvet#2c2a35Haiti#1f2133Eclipse Elixir#342931Melanzane#1a161dViolet Void#21263aMidnight Express#201b20Night Demons#252024Ink Black
Closest common color name: Dark Purple.
Questions
- What color is #282130?
- #282130 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 #282130?
- The RGB value is 40, 33, 48: 40 red, 33 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #282130?
- The complementary color is #293021, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282130?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.55:1. WCAG asks for at least 4.5:1 for normal text.