Recognised as Colour
#42012F
- #42012F
- Magenta
- Dark
- Nearest: Dark slateblue
#42012F is a magenta with RGB values 66, 1, 47 and HSL 318°, 97%, 13%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#42012F#42012F
HEX#42012F
RGBrgb(66, 1, 47)
RGB (0–1)0.2588, 0.0039, 0.1843
RGB percentages25.9%, 0.4%, 18.4%
HSLhsl(317.5, 97%, 13.1%)
HSV / HSBhsv(317.5, 98.5%, 25.9%)
CMYK0%, 98.5%, 28.8%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,325,679
CSS custom property--colour: #42012F;
Brightness & contrast
Relative luminance0.01385WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.44:1
Contrast with white16.44:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#BDFED0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.44:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#014214
Analogous#350142, #42010F
Triadic#2F4201, #012F42
Split complementary#0E4201, #014235
Tetradic#423501, #014214, #010E42
Tints, shades & saturation
Channel breakdown
R66
G1
B47
Red66 (25.9%)
Green1 (0.4%)
Blue47 (18.4%)
Hue317.54°
Saturation (HSL)97.01%
Lightness13.14%
Dominant channelRed
Hex per channelR 42 · G 01 · B 2F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page