Nerdulator> put something in

Recognised as Colour

#340E4E

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

#340E4E is a violet with RGB values 52, 14, 78 and HSL 276°, 70%, 18%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#340E4E#340E4E
HEX#340E4E
RGBrgb(52, 14, 78)
RGB (0–1)0.2039, 0.0549, 0.3059
RGB percentages20.4%, 5.5%, 30.6%
HSLhsl(275.6, 69.6%, 18%)
HSV / HSBhsv(275.6, 82.1%, 30.6%)
CMYK33.3%, 82.1%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,534
CSS custom property--colour: #340E4E;

Brightness & contrast

Relative luminance0.01594WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.92:1
Contrast with white15.92:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CBF1B1

Colour vision & accessibility

Protanopia#002150no red cones; affects about 1% of men; ΔE 21.2 from the original
Deuteranopia#00224Dno green cones; the most common form, about 1% of men; ΔE 23.4 from the original
Tritanopia#301E2Dno blue cones; rare, and affects men and women equally; ΔE 31.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.92:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#284E0E
Analogous#140E4E, #4E0E48
Triadic#4E340E, #0E4E34
Split complementary#484E0E, #0E4E14
Tetradic#4E140E, #284E0E, #0E484E

Tints, shades & saturation

Lighter +40%#A24ADE
Lighter +30%#8A25D0
Lighter +20%#6E1EA4
Lighter +10%#511679
Darker −10%#170623
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#36035A
Less saturated −25%#321A43

Channel breakdown

R52
G14
B78
Red52 (20.4%)
Green14 (5.5%)
Blue78 (30.6%)
Hue275.63°
Saturation (HSL)69.57%
Lightness18.04%
Dominant channelBlue
Hex per channelR 34 · G 0E · B 4E

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