#310018 color

#310018 rgb(49, 0, 24)
Shades of black

The hex color #310018 is a very dark, vivid rose.

In the RGB color model it is made of 19.2% red, 0% green and 9.4% blue (49, 0, 24).

Its hue angle is 331°, with 100% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 51% yellow and 81% black.

The closest named color is Vienna Roast (#330022), a difference of 3.9 ΔE, a small difference.

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

#310018 color codes

HEX#310018
RGBrgb(49, 0, 24)
RGB percentrgb(19.2%, 0%, 9.4%)
HSLhsl(331, 100%, 10%)
HSV / HSBhsv(331, 100%, 19%)
CMYKcmyk(0%, 100%, 51%, 81%)
CIE LABlab(6.5, 26.52, -2.07)
CIE LCHlch(6.5, 26.6, 355.55)
CIE XYZxyz(1.432, 0.719, 0.927)
Decimal3211288
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #310018; }
.text { color: #310018; }
.border { border: 2px solid #310018; }
.transparent { background-color: rgb(49 0 24 / 50%); }
.gradient { background: linear-gradient(to right, #310018, #310000); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #310018?
#310018 is a very dark, vivid rose, closest to the named color Vienna Roast. It belongs to the black family of colors.
What is the RGB value of #310018?
The RGB value is 49, 0, 24: 49 red, 0 green and 24 blue on a 0 to 255 scale.
What is the complementary color of #310018?
The complementary color is #003119, found by rotating the hue 180° on the color wheel.
Is black or white text better on #310018?
White text. Black text has a contrast ratio of 1.14:1 and white text 18.36:1. WCAG asks for at least 4.5:1 for normal text.