Recognised as Colour
#42303A
- #42303A
- Magenta
- Dark
- Nearest: Dark slate grey
#42303A is a magenta with RGB values 66, 48, 58 and HSL 327°, 16%, 22%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.
Colour values
#42303A#42303A
HEX#42303A
RGBrgb(66, 48, 58)
RGB (0–1)0.2588, 0.1882, 0.2275
RGB percentages25.9%, 18.8%, 22.7%
HSLhsl(326.7, 15.8%, 22.4%)
HSV / HSBhsv(326.7, 27.3%, 25.9%)
CMYK0%, 27.3%, 12.1%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,337,722
CSS custom property--colour: #42303A;
Brightness & contrast
Relative luminance0.03578WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.24:1
Contrast with white12.24:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#BDCFC5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.24:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#304238
Analogous#413042, #423031
Triadic#3A4230, #303A42
Split complementary#314230, #304241
Tetradic#424130, #304238, #303142
Tints, shades & saturation
Channel breakdown
R66
G48
B58
Red66 (25.9%)
Green48 (18.8%)
Blue58 (22.7%)
Hue326.67°
Saturation (HSL)15.79%
Lightness22.35%
Dominant channelRed
Hex per channelR 42 · G 30 · B 3A
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page