Nerdulator> put something in

Recognised as Colour

#340C47

  • #340C47
  • Violet
  • Dark
  • Nearest: Midnight blue

#340C47 is a violet with RGB values 52, 12, 71 and HSL 281°, 71%, 16%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#340C47#340C47
HEX#340C47
RGBrgb(52, 12, 71)
RGB (0–1)0.2039, 0.0471, 0.2784
RGB percentages20.4%, 4.7%, 27.8%
HSLhsl(280.7, 71.1%, 16.3%)
HSV / HSBhsv(280.7, 83.1%, 27.8%)
CMYK26.8%, 83.1%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,015
CSS custom property--colour: #340C47;

Brightness & contrast

Relative luminance0.01448WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.28:1
Contrast with white16.28:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#CBF3B8

Colour vision & accessibility

Protanopia#001E49no red cones; affects about 1% of men; ΔE 21.4 from the original
Deuteranopia#052146no green cones; the most common form, about 1% of men; ΔE 24.4 from the original
Tritanopia#321A29no blue cones; rare, and affects men and women equally; ΔE 27.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.28:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 22.13, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#1F470C
Analogous#160C47, #470C3D
Triadic#47340C, #0C4734
Split complementary#3D470C, #0C4716
Tetradic#47160C, #1F470C, #0C3D47

Tints, shades & saturation

Lighter +40%#AC40DF
Lighter +30%#9422CA
Lighter +20%#741B9E
Lighter +10%#541373
Darker −10%#14051B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#380251
Less saturated −25%#30163D

Channel breakdown

R52
G12
B71
Red52 (20.4%)
Green12 (4.7%)
Blue71 (27.8%)
Hue280.68°
Saturation (HSL)71.08%
Lightness16.27%
Dominant channelBlue
Hex per channelR 34 · G 0C · B 47

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