Nerdulator> put something in

Colour

#340F50

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

#340F50 is a violet with RGB values 52, 15, 80 and HSL 274°, 68%, 19%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#340F50#340F50
HEX#340F50
RGBrgb(52, 15, 80)
RGB (0–1)0.2039, 0.0588, 0.3137
RGB percentages20.4%, 5.9%, 31.4%
HSLhsl(274.2, 68.4%, 18.6%)
HSV / HSBhsv(274.2, 81.3%, 31.4%)
CMYK35%, 81.3%, 0%, 68.6%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,411,792
CSS custom property--colour: #340F50;

Brightness & contrast

Relative luminance0.01651WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.79:1
Contrast with white15.79:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#CBF0AF

Colour vision & accessibility

Protanopia#002252no red cones; affects about 1% of men; ΔE 21 from the original
Deuteranopia#00234Fno green cones; the most common form, about 1% of men; ΔE 23.3 from the original
Tritanopia#2F1F2Eno blue cones; rare, and affects men and women equally; ΔE 32.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.79:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2B500F
Analogous#140F50, #500F4B
Triadic#50340F, #0F5034
Split complementary#4C500F, #0F5013
Tetradic#50130F, #2B500F, #0F4B50

Tints, shades & saturation

Lighter +40%#9F4DDE
Lighter +30%#8827D1
Lighter +20%#6C1FA6
Lighter +10%#50177B
Darker −10%#180725
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#36035C
Less saturated −25%#321B44

Channel breakdown

R52
G15
B80
Red52 (20.4%)
Green15 (5.9%)
Blue80 (31.4%)
Hue274.15°
Saturation (HSL)68.42%
Lightness18.63%
Dominant channelBlue
Hex per channelR 34 · G 0F · B 50

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