#28252C color

#28252C rgb(40, 37, 44)
Shades of black

The hex color #28252C is a very dark, grayish violet.

In the RGB color model it is made of 15.7% red, 14.5% green and 17.3% blue (40, 37, 44).

Its hue angle is 266°, with 9% saturation and 16% lightness. For print, the CMYK equivalent is 9% cyan, 16% magenta, 0% yellow and 83% black.

The closest named color is Darth Vader (#27252A), a difference of 1.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.09:1).

#28252C color codes

HEX#28252C
RGBrgb(40, 37, 44)
RGB percentrgb(15.7%, 14.5%, 17.3%)
HSLhsl(266, 9%, 16%)
HSV / HSBhsv(266, 16%, 17%)
CMYKcmyk(9%, 16%, 0%, 83%)
CIE LABlab(15.26, 3.11, -4.11)
CIE LCHlch(15.26, 5.16, 307.17)
CIE XYZxyz(1.991, 1.956, 2.655)
Decimal2630956
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #28252C, 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 #28252CRatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.09:1PassPassPass
#28252C as text onRatioAAAAAAA large
Sample text15.09:1PassPassPass
Sample text1.39:1FailFailFail

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 #28252C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #28252c; }
.text { color: #28252c; }
.border { border: 2px solid #28252c; }
.transparent { background-color: rgb(40 37 44 / 50%); }
.gradient { background: linear-gradient(to right, #28252c, #2b252c); }
Background
Text color
Border

Similar colors

Closest common color name: Jet Black.

Questions

What color is #28252C?
#28252C is a very dark, grayish violet, closest to the named color Darth Vader. It belongs to the black family of colors.
What is the RGB value of #28252C?
The RGB value is 40, 37, 44: 40 red, 37 green and 44 blue on a 0 to 255 scale.
What is the complementary color of #28252C?
The complementary color is #292C25, found by rotating the hue 180° on the color wheel.
Is black or white text better on #28252C?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.09:1. WCAG asks for at least 4.5:1 for normal text.