#2F012E color

#2F012E rgb(47, 1, 46)
Shades of black

The hex color #2F012E is a very dark, vivid magenta.

In the RGB color model it is made of 18.4% red, 0.4% green and 18% blue (47, 1, 46).

Its hue angle is 301°, with 96% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 98% magenta, 2% yellow and 82% black.

The closest named color is Black Sabbath (#220022), a difference of 4.5 ΔE, a small difference.

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

#2F012E color codes

HEX#2F012E
RGBrgb(47, 1, 46)
RGB percentrgb(18.4%, 0.4%, 18%)
HSLhsl(301, 96%, 9%)
HSV / HSBhsv(301, 98%, 18%)
CMYKcmyk(0%, 98%, 2%, 82%)
CIE LABlab(7.44, 29.12, -17.58)
CIE LCHlch(7.44, 34.02, 328.88)
CIE XYZxyz(1.676, 0.823, 2.655)
Decimal3080494
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2f012e; }
.text { color: #2f012e; }
.border { border: 2px solid #2f012e; }
.transparent { background-color: rgb(47 1 46 / 50%); }
.gradient { background: linear-gradient(to right, #2f012e, #2f0117); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #2F012E?
#2F012E is a very dark, vivid magenta, closest to the named color Black Sabbath. It belongs to the black family of colors.
What is the RGB value of #2F012E?
The RGB value is 47, 1, 46: 47 red, 1 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #2F012E?
The complementary color is #012F02, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F012E?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.03:1. WCAG asks for at least 4.5:1 for normal text.