Recognised as Colour
#340A36
- #340A36
- Magenta
- Dark
- Nearest: Dark slateblue
#340A36 is a magenta with RGB values 52, 10, 54 and HSL 297°, 69%, 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 Dark slateblue.
Colour values
#340A36#340A36
HEX#340A36
RGBrgb(52, 10, 54)
RGB (0–1)0.2039, 0.0392, 0.2118
RGB percentages20.4%, 3.9%, 21.2%
HSLhsl(297.3, 68.8%, 12.5%)
HSV / HSBhsv(297.3, 81.5%, 21.2%)
CMYK3.7%, 81.5%, 0%, 78.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,410,486
CSS custom property--colour: #340A36;
Brightness & contrast
Relative luminance0.01213WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.6 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#161616
Inverted#CBF5C9
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#0C360A
Analogous#1E0A36, #360A22
Triadic#36340A, #0A3634
Split complementary#22360A, #0A361E
Tetradic#361E0A, #0C360A, #0A2236
Tints, shades & saturation
Channel breakdown
R52
G10
B54
Red52 (20.4%)
Green10 (3.9%)
Blue54 (21.2%)
Hue297.27°
Saturation (HSL)68.75%
Lightness12.55%
Dominant channelBlue
Hex per channelR 34 · G 0A · B 36
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