#0F021A color

#0F021A rgb(15, 2, 26)
Shades of black

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

In the RGB color model it is made of 5.9% red, 0.8% green and 10.2% blue (15, 2, 26).

Its hue angle is 273°, with 86% saturation and 5% lightness. For print, the CMYK equivalent is 42% cyan, 92% magenta, 0% yellow and 90% black.

The closest named color is Glossy Black (#110011), a difference of 4.1 ΔE, a small difference.

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

#0F021A color codes

HEX#0F021A
RGBrgb(15, 2, 26)
RGB percentrgb(5.9%, 0.8%, 10.2%)
HSLhsl(273, 86%, 5%)
HSV / HSBhsv(273, 92%, 10%)
CMYKcmyk(42%, 92%, 0%, 90%)
CIE LABlab(1.98, 8.05, -10.85)
CIE LCHlch(1.98, 13.51, 306.56)
CIE XYZxyz(0.405, 0.22, 0.998)
Decimal983578
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #0f021a; }
.text { color: #0f021a; }
.border { border: 2px solid #0f021a; }
.transparent { background-color: rgb(15 2 26 / 50%); }
.gradient { background: linear-gradient(to right, #0f021a, #1a0219); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

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