Nerdulator> put something in

Recognised as Colour

#342B40

  • #342B40
  • Violet
  • Dark
  • Nearest: Black

#342B40 is a violet with RGB values 52, 43, 64 and HSL 266°, 20%, 21%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#342B40#342B40
HEX#342B40
RGBrgb(52, 43, 64)
RGB (0–1)0.2039, 0.1686, 0.251
RGB percentages20.4%, 16.9%, 25.1%
HSLhsl(265.7, 19.6%, 21%)
HSV / HSBhsv(265.7, 32.8%, 25.1%)
CMYK18.8%, 32.8%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,418,944
CSS custom property--colour: #342B40;

Brightness & contrast

Relative luminance0.02828WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.41:1
Contrast with white13.41:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#CBD4BF

Colour vision & accessibility

Protanopia#272F41no red cones; affects about 1% of men; ΔE 7.3 from the original
Deuteranopia#292F3Fno green cones; the most common form, about 1% of men; ΔE 7.3 from the original
Tritanopia#322E32no blue cones; rare, and affects men and women equally; ΔE 11.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.41:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#37402B
Analogous#2B2C40, #3F2B40
Triadic#40342B, #2B4034
Split complementary#403F2B, #2D402B
Tetradic#402B2C, #37402B, #2B403F

Tints, shades & saturation

Lighter +40%#9988AF
Lighter +30%#7E699B
Lighter +20%#66547D
Lighter +10%#4D3F5F
Darker −10%#1B1721
Darker −20%#020203
Darker −30%#000000
Darker −40%#000000
More saturated +25%#321E4D
Less saturated −25%#363636

Channel breakdown

R52
G43
B64
Red52 (20.4%)
Green43 (16.9%)
Blue64 (25.1%)
Hue265.71°
Saturation (HSL)19.63%
Lightness20.98%
Dominant channelBlue
Hex per channelR 34 · G 2B · B 40

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