#0F0421 color

#0F0421 rgb(15, 4, 33)
Shades of black

The hex color #0F0421 is a very dark, moderate violet.

In the RGB color model it is made of 5.9% red, 1.6% green and 12.9% blue (15, 4, 33).

Its hue angle is 263°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 55% cyan, 88% magenta, 0% yellow and 87% black.

The closest named color is Mysterious Depths (#060929), a difference of 4.1 ΔE, a small difference.

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

#0F0421 color codes

HEX#0F0421
RGBrgb(15, 4, 33)
RGB percentrgb(5.9%, 1.6%, 12.9%)
HSLhsl(263, 78%, 7%)
HSV / HSBhsv(263, 88%, 13%)
CMYKcmyk(55%, 88%, 0%, 87%)
CIE LABlab(2.69, 9.48, -15.38)
CIE LCHlch(2.69, 18.07, 301.65)
CIE XYZxyz(0.515, 0.298, 1.469)
Decimal984097
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0F0421, 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 #0F0421RatioAAAAAAA large
Sample text1.06:1FailFailFail
Sample text19.82:1PassPassPass
#0F0421 as text onRatioAAAAAAA large
Sample text19.82:1PassPassPass
Sample text1.06: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 #0F0421 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #0F0421?
#0F0421 is a very dark, moderate violet, closest to the named color Mysterious Depths. It belongs to the black family of colors.
What is the RGB value of #0F0421?
The RGB value is 15, 4, 33: 15 red, 4 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #0F0421?
The complementary color is #162104, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0F0421?
White text. Black text has a contrast ratio of 1.06:1 and white text 19.82:1. WCAG asks for at least 4.5:1 for normal text.