#070218 color

#070218 rgb(7, 2, 24)
Shades of black

The hex color #070218 is a very dark, vivid violet.

In the RGB color model it is made of 2.7% red, 0.8% green and 9.4% blue (7, 2, 24).

Its hue angle is 254°, with 85% saturation and 5% lightness. For print, the CMYK equivalent is 71% cyan, 92% magenta, 0% yellow and 91% black.

The closest named color is Corbeau (#111122), a difference of 2.9 ΔE, a small difference.

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

#070218 color codes

HEX#070218
RGBrgb(7, 2, 24)
RGB percentrgb(2.7%, 0.8%, 9.4%)
HSLhsl(254, 85%, 5%)
HSV / HSBhsv(254, 92%, 9%)
CMYKcmyk(71%, 92%, 0%, 91%)
CIE LABlab(1.4, 5.21, -10.17)
CIE LCHlch(1.4, 11.43, 297.14)
CIE XYZxyz(0.274, 0.155, 0.879)
Decimal459288
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #070218?
#070218 is a very dark, vivid violet, closest to the named color Corbeau. It belongs to the black family of colors.
What is the RGB value of #070218?
The RGB value is 7, 2, 24: 7 red, 2 green and 24 blue on a 0 to 255 scale.
What is the complementary color of #070218?
The complementary color is #131802, found by rotating the hue 180° on the color wheel.
Is black or white text better on #070218?
White text. Black text has a contrast ratio of 1.03:1 and white text 20.37:1. WCAG asks for at least 4.5:1 for normal text.