Nerdulator> put something in

Recognised as Colour

#340C31

  • #340C31
  • Magenta
  • Dark
  • Nearest: Black

#340C31 is a magenta with RGB values 52, 12, 49 and HSL 305°, 63%, 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

#340C31#340C31
HEX#340C31
RGBrgb(52, 12, 49)
RGB (0–1)0.2039, 0.0471, 0.1922
RGB percentages20.4%, 4.7%, 19.2%
HSLhsl(304.5, 62.5%, 12.5%)
HSV / HSBhsv(304.5, 76.9%, 20.4%)
CMYK0%, 76.9%, 5.8%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,410,993
CSS custom property--colour: #340C31;

Brightness & contrast

Relative luminance0.01215WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.2 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#171717
Inverted#CBF3CE

Colour vision & accessibility

Protanopia#091932no red cones; affects about 1% of men; ΔE 22.1 from the original
Deuteranopia#171F30no green cones; the most common form, about 1% of men; ΔE 23.5 from the original
Tritanopia#36101Dno blue cones; rare, and affects men and women equally; ΔE 16 from the original
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

Nearest named CSS colourBlack (#000000)ΔE 31.19, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#0C340F
Analogous#230C34, #340C1D
Triadic#31340C, #0C3134
Split complementary#1D340C, #0C3423
Tetradic#34230C, #0C340F, #0C1D34

Tints, shades & saturation

Lighter +40%#D23AC6
Lighter +30%#B029A6
Lighter +20%#871F7F
Lighter +10%#5D1658
Darker −10%#0B020A
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3C0438
Less saturated −25%#2C142A

Channel breakdown

R52
G12
B49
Red52 (20.4%)
Green12 (4.7%)
Blue49 (19.2%)
Hue304.5°
Saturation (HSL)62.5%
Lightness12.55%
Dominant channelRed
Hex per channelR 34 · G 0C · B 31

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

Every value on this page was computed from “340c31” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.