Nerdulator> put something in

Recognised as Colour

#340B28

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

#340B28 is a magenta with RGB values 52, 11, 40 and HSL 318°, 65%, 12%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#340B28#340B28
HEX#340B28
RGBrgb(52, 11, 40)
RGB (0–1)0.2039, 0.0431, 0.1569
RGB percentages20.4%, 4.3%, 15.7%
HSLhsl(317.6, 65.1%, 12.4%)
HSV / HSBhsv(317.6, 78.8%, 20.4%)
CMYK0%, 78.8%, 23.1%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,410,728
CSS custom property--colour: #340B28;

Brightness & contrast

Relative luminance0.01123WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.15:1
Contrast with white17.15:1WCAG normal text: AAA
Contrast with black1.22:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CBF4D7

Colour vision & accessibility

Protanopia#0E1729no red cones; affects about 1% of men; ΔE 22.2 from the original
Deuteranopia#1B1E27no green cones; the most common form, about 1% of men; ΔE 23.1 from the original
Tritanopia#380C18no blue cones; rare, and affects men and women equally; ΔE 12.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.15:1WCAG large text: AAA
Contrast with black, large text1.22:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#0B3417
Analogous#2B0B34, #340B14
Triadic#28340B, #0B2834
Split complementary#14340B, #0B342B
Tetradic#342C0B, #0B3417, #0B1434

Tints, shades & saturation

Lighter +40%#D536A6
Lighter +30%#B22689
Lighter +20%#881D69
Lighter +10%#5E1448
Darker −10%#0A0208
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3C032B
Less saturated −25%#2C1325

Channel breakdown

R52
G11
B40
Red52 (20.4%)
Green11 (4.3%)
Blue40 (15.7%)
Hue317.56°
Saturation (HSL)65.08%
Lightness12.35%
Dominant channelRed
Hex per channelR 34 · G 0B · B 28

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 “340b28” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.