Recognised as Colour
#340E2A
- #340E2A
- Magenta
- Dark
- Nearest: Black
#340E2A is a magenta with RGB values 52, 14, 42 and HSL 316°, 58%, 13%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#340E2A#340E2A
HEX#340E2A
RGBrgb(52, 14, 42)
RGB (0–1)0.2039, 0.0549, 0.1647
RGB percentages20.4%, 5.5%, 16.5%
HSLhsl(315.8, 57.6%, 12.9%)
HSV / HSBhsv(315.8, 73.1%, 20.4%)
CMYK0%, 73.1%, 19.2%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,498
CSS custom property--colour: #340E2A;
Brightness & contrast
Relative luminance0.01211WCAG 2.x, 0 is black and 1 is white
Perceived brightness33.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.9:1
Contrast with white16.9:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#CBF1D5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.9:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0E3418
Analogous#2B0E34, #340E17
Triadic#2A340E, #0E2A34
Split complementary#17340E, #0E342B
Tetradic#342B0E, #0E3418, #0E1734
Tints, shades & saturation
Channel breakdown
R52
G14
B42
Red52 (20.4%)
Green14 (5.5%)
Blue42 (16.5%)
Hue315.79°
Saturation (HSL)57.58%
Lightness12.94%
Dominant channelRed
Hex per channelR 34 · G 0E · B 2A
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