#282334 color

#282334 rgb(40, 35, 52)
Shades of gray

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

In the RGB color model it is made of 15.7% red, 13.7% green and 20.4% blue (40, 35, 52).

Its hue angle is 258°, with 20% saturation and 17% lightness. For print, the CMYK equivalent is 23% cyan, 33% magenta, 0% yellow and 80% black.

The closest named color is Black Velvet (#222233), a difference of 2.6 ΔE, a small difference.

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

#282334 color codes

HEX#282334
RGBrgb(40, 35, 52)
RGB percentrgb(15.7%, 13.7%, 20.4%)
HSLhsl(258, 20%, 17%)
HSV / HSBhsv(258, 33%, 20%)
CMYKcmyk(23%, 33%, 0%, 80%)
CIE LABlab(14.96, 6.76, -10.24)
CIE LCHlch(14.96, 12.27, 303.44)
CIE XYZxyz(2.096, 1.901, 3.505)
Decimal2630452
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #282334, 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 #282334RatioAAAAAAA large
Sample text1.38:1FailFailFail
Sample text15.21:1PassPassPass
#282334 as text onRatioAAAAAAA large
Sample text15.21:1PassPassPass
Sample text1.38: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 #282334 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #282334; }
.text { color: #282334; }
.border { border: 2px solid #282334; }
.transparent { background-color: rgb(40 35 52 / 50%); }
.gradient { background: linear-gradient(to right, #282334, #312334); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #282334?
#282334 is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the gray family of colors.
What is the RGB value of #282334?
The RGB value is 40, 35, 52: 40 red, 35 green and 52 blue on a 0 to 255 scale.
What is the complementary color of #282334?
The complementary color is #2F3423, found by rotating the hue 180° on the color wheel.
Is black or white text better on #282334?
White text. Black text has a contrast ratio of 1.38:1 and white text 15.21:1. WCAG asks for at least 4.5:1 for normal text.