#302843 color

#302843 rgb(48, 40, 67)
Shades of purple

The hex color #302843 is a dark, desaturated violet.

In the RGB color model it is made of 18.8% red, 15.7% green and 26.3% blue (48, 40, 67).

Its hue angle is 258°, with 25% saturation and 21% lightness. For print, the CMYK equivalent is 28% cyan, 40% magenta, 0% yellow and 74% black.

The closest named color is Midnight Velvet (#2A2243), a difference of 2.9 ΔE, a small difference.

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

#302843 color codes

HEX#302843
RGBrgb(48, 40, 67)
RGB percentrgb(18.8%, 15.7%, 26.3%)
HSLhsl(258, 25%, 21%)
HSV / HSBhsv(258, 40%, 26%)
CMYKcmyk(28%, 40%, 0%, 74%)
CIE LABlab(18.15, 10.66, -15.69)
CIE LCHlch(18.15, 18.97, 304.18)
CIE XYZxyz(2.991, 2.551, 5.644)
Decimal3156035
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #302843; }
.text { color: #302843; }
.border { border: 2px solid #302843; }
.transparent { background-color: rgb(48 40 67 / 50%); }
.gradient { background: linear-gradient(to right, #302843, #3e2843); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #302843?
#302843 is a dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
What is the RGB value of #302843?
The RGB value is 48, 40, 67: 48 red, 40 green and 67 blue on a 0 to 255 scale.
What is the complementary color of #302843?
The complementary color is #3B4328, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302843?
White text. Black text has a contrast ratio of 1.51:1 and white text 13.91:1. WCAG asks for at least 4.5:1 for normal text.